AuthCloudApiError.userAlreadyRegisteredInAnotherServer constructor Null safety

AuthCloudApiError.userAlreadyRegisteredInAnotherServer(
  1. Map<String, dynamic> json
)

An error that occurs with registration when we try to register a new authenticator in a server for a given username, and there is an authenticator already registered in another server for that username.

Params:

  • json: contains the source for instance creation.

Implementation

factory AuthCloudApiError.userAlreadyRegisteredInAnotherServer(
    Map<String, dynamic> json) {
  return AuthCloudApiUserAlreadyRegisteredInAnotherServer.fromJson(json);
}