toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ImportStatus.inProgress:
      return 'IN_PROGRESS';
    case ImportStatus.complete:
      return 'COMPLETE';
    case ImportStatus.failed:
      return 'FAILED';
  }
}