toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ReportStateType.started:
      return 'STARTED';
    case ReportStateType.inprogress:
      return 'INPROGRESS';
    case ReportStateType.complete:
      return 'COMPLETE';
  }
}