name method
Gets the name of the value.
Implementation
String name() {
switch (_value) {
case 1:
return 'ALLOW';
case 0:
return 'CANCEL';
}
return _value.toString();
}
Gets the name of the value.
String name() {
switch (_value) {
case 1:
return 'ALLOW';
case 0:
return 'CANCEL';
}
return _value.toString();
}