toIdentityProviderType method

IdentityProviderType toIdentityProviderType()

Implementation

IdentityProviderType toIdentityProviderType() {
  switch (this) {
    case 'SERVICE_MANAGED':
      return IdentityProviderType.serviceManaged;
    case 'API_GATEWAY':
      return IdentityProviderType.apiGateway;
  }
  throw Exception('$this is not known in enum IdentityProviderType');
}