toAutomationType method
Implementation
AutomationType toAutomationType() {
switch (this) {
case 'CrossAccount':
return AutomationType.crossAccount;
case 'Local':
return AutomationType.local;
}
throw Exception('$this is not known in enum AutomationType');
}