toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ActionStatus.unknown:
      return 'Unknown';
    case ActionStatus.inProgress:
      return 'InProgress';
    case ActionStatus.completed:
      return 'Completed';
    case ActionStatus.failed:
      return 'Failed';
    case ActionStatus.stopping:
      return 'Stopping';
    case ActionStatus.stopped:
      return 'Stopped';
  }
}