toOwner method
Implementation
Owner toOwner() {
switch (this) {
case 'CUSTOM_LAMBDA':
return Owner.customLambda;
case 'AWS':
return Owner.aws;
}
throw Exception('$this is not known in enum Owner');
}
Owner toOwner() {
switch (this) {
case 'CUSTOM_LAMBDA':
return Owner.customLambda;
case 'AWS':
return Owner.aws;
}
throw Exception('$this is not known in enum Owner');
}