toAuthenticationType method

AuthenticationType toAuthenticationType()

Implementation

AuthenticationType toAuthenticationType() {
  switch (this) {
    case 'password':
      return AuthenticationType.password;
    case 'no-password':
      return AuthenticationType.noPassword;
  }
  throw Exception('$this is not known in enum AuthenticationType');
}