toOwner method

Owner toOwner()

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');
}