toValue method
Implementation
String toValue() {
switch (this) {
case RecordState.active:
return 'ACTIVE';
case RecordState.archived:
return 'ARCHIVED';
}
}
String toValue() {
switch (this) {
case RecordState.active:
return 'ACTIVE';
case RecordState.archived:
return 'ARCHIVED';
}
}