AuthenticationError.fromJson constructor
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);
}