name method
Gets the name of the value.
Implementation
String name() {
switch (_value) {
case 'Lax':
return 'LAX';
case 'None':
return 'NONE';
case 'Strict':
return 'STRICT';
}
return _value.toString();
}
Gets the name of the value.
String name() {
switch (_value) {
case 'Lax':
return 'LAX';
case 'None':
return 'NONE';
case 'Strict':
return 'STRICT';
}
return _value.toString();
}