AuthenticationError.networkError constructor
A network error occurred while redeeming the token: either the server was not reachable or it returned an HTTP error.
Params:
- json: contains the source for instance creation.
Implementation
factory AuthenticationError.networkError(Map<String, dynamic> json) {
return AuthenticationNetworkError.fromJson(json);
}