OperationError.userAlreadyRegisteredInAnotherServer constructor

OperationError.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 OperationError.userAlreadyRegisteredInAnotherServer(
  Map<String, dynamic> json,
) {
  return OperationUserAlreadyRegisteredInAnotherServer.fromJson(json);
}