toEmailSendingAccountType method

EmailSendingAccountType toEmailSendingAccountType()

Implementation

EmailSendingAccountType toEmailSendingAccountType() {
  switch (this) {
    case 'COGNITO_DEFAULT':
      return EmailSendingAccountType.cognitoDefault;
    case 'DEVELOPER':
      return EmailSendingAccountType.developer;
  }
  throw Exception('$this is not known in enum EmailSendingAccountType');
}