name method
Gets the name of the value.
Implementation
String name() {
switch (_value) {
case 'localStorage':
return 'LOCAL_STORAGE';
case 'sessionStorage':
return 'SESSION_STORAGE';
}
return _value.toString();
}
Gets the name of the value.
String name() {
switch (_value) {
case 'localStorage':
return 'LOCAL_STORAGE';
case 'sessionStorage':
return 'SESSION_STORAGE';
}
return _value.toString();
}