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