toActionOwner method

ActionOwner toActionOwner()

Implementation

ActionOwner toActionOwner() {
  switch (this) {
    case 'AWS':
      return ActionOwner.aws;
    case 'ThirdParty':
      return ActionOwner.thirdParty;
    case 'Custom':
      return ActionOwner.custom;
  }
  throw Exception('$this is not known in enum ActionOwner');
}