toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ActionStatus.scheduled:
      return 'Scheduled';
    case ActionStatus.pending:
      return 'Pending';
    case ActionStatus.running:
      return 'Running';
    case ActionStatus.unknown:
      return 'Unknown';
  }
}