toValue method
Implementation
String toValue() {
switch (this) {
case RecorderStatus.pending:
return 'Pending';
case RecorderStatus.success:
return 'Success';
case RecorderStatus.failure:
return 'Failure';
}
}
String toValue() {
switch (this) {
case RecorderStatus.pending:
return 'Pending';
case RecorderStatus.success:
return 'Success';
case RecorderStatus.failure:
return 'Failure';
}
}