toServiceActionDefinitionKey method
Implementation
ServiceActionDefinitionKey toServiceActionDefinitionKey() {
switch (this) {
case 'Name':
return ServiceActionDefinitionKey.name;
case 'Version':
return ServiceActionDefinitionKey.version;
case 'AssumeRole':
return ServiceActionDefinitionKey.assumeRole;
case 'Parameters':
return ServiceActionDefinitionKey.parameters;
}
throw Exception('$this is not known in enum ServiceActionDefinitionKey');
}