toJobType method

JobType toJobType()

Implementation

JobType toJobType() {
  switch (this) {
    case 'RELEASE':
      return JobType.release;
    case 'RETRY':
      return JobType.retry;
    case 'MANUAL':
      return JobType.manual;
    case 'WEB_HOOK':
      return JobType.webHook;
  }
  throw Exception('$this is not known in enum JobType');
}