AuthenticationError.fromJson constructor

AuthenticationError.fromJson(
  1. Map<String, dynamic> json
)

Alternate constructor to create an AuthenticationError from json.

Params:

  • json: contains the source for instance creation.

Implementation

factory AuthenticationError.fromJson(Map<String, dynamic> json) {
  return const AuthenticationErrorConverter().fromJson(json);
}