toAutomationSubtype method

AutomationSubtype toAutomationSubtype()

Implementation

AutomationSubtype toAutomationSubtype() {
  switch (this) {
    case 'ChangeRequest':
      return AutomationSubtype.changeRequest;
  }
  throw Exception('$this is not known in enum AutomationSubtype');
}