toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case RestoreJobStatus.pending:
      return 'PENDING';
    case RestoreJobStatus.running:
      return 'RUNNING';
    case RestoreJobStatus.completed:
      return 'COMPLETED';
    case RestoreJobStatus.aborted:
      return 'ABORTED';
    case RestoreJobStatus.failed:
      return 'FAILED';
  }
}