toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ExportStatus.failed:
      return 'FAILED';
    case ExportStatus.succeeded:
      return 'SUCCEEDED';
    case ExportStatus.inProgress:
      return 'IN_PROGRESS';
  }
}