toValue method
Implementation
String toValue() {
switch (this) {
case StatusType.active:
return 'Active';
case StatusType.inactive:
return 'Inactive';
}
}
String toValue() {
switch (this) {
case StatusType.active:
return 'Active';
case StatusType.inactive:
return 'Inactive';
}
}