toValue method
Implementation
String toValue() {
switch (this) {
case AccountStatus.active:
return 'ACTIVE';
case AccountStatus.suspended:
return 'SUSPENDED';
}
}
String toValue() {
switch (this) {
case AccountStatus.active:
return 'ACTIVE';
case AccountStatus.suspended:
return 'SUSPENDED';
}
}