toValue method

String toValue()

Implementation

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