toActionHistoryStatus method

ActionHistoryStatus toActionHistoryStatus()

Implementation

ActionHistoryStatus toActionHistoryStatus() {
  switch (this) {
    case 'Completed':
      return ActionHistoryStatus.completed;
    case 'Failed':
      return ActionHistoryStatus.failed;
    case 'Unknown':
      return ActionHistoryStatus.unknown;
  }
  throw Exception('$this is not known in enum ActionHistoryStatus');
}