toActionType method

ActionType toActionType()

Implementation

ActionType toActionType() {
  switch (this) {
    case 'InstanceRefresh':
      return ActionType.instanceRefresh;
    case 'PlatformUpdate':
      return ActionType.platformUpdate;
    case 'Unknown':
      return ActionType.unknown;
  }
  throw Exception('$this is not known in enum ActionType');
}