toValue method
Implementation
String toValue() {
switch (this) {
case RecordState.started:
return 'Started';
case RecordState.succeeded:
return 'Succeeded';
case RecordState.failed:
return 'Failed';
}
}
String toValue() {
switch (this) {
case RecordState.started:
return 'Started';
case RecordState.succeeded:
return 'Succeeded';
case RecordState.failed:
return 'Failed';
}
}