toValue method
Implementation
String toValue() {
switch (this) {
case Permission.enabled:
return 'ENABLED';
case Permission.disabled:
return 'DISABLED';
}
}
String toValue() {
switch (this) {
case Permission.enabled:
return 'ENABLED';
case Permission.disabled:
return 'DISABLED';
}
}