toAccountType method

AccountType toAccountType()

Implementation

AccountType toAccountType() {
  switch (this) {
    case 'Team':
      return AccountType.team;
    case 'EnterpriseDirectory':
      return AccountType.enterpriseDirectory;
    case 'EnterpriseLWA':
      return AccountType.enterpriseLWA;
    case 'EnterpriseOIDC':
      return AccountType.enterpriseOIDC;
  }
  throw Exception('$this is not known in enum AccountType');
}