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