HttpError.fromJson constructor
Alternate constructor that creates an HttpError from a json.
Params:
- json: contains the source for instance creation.
Implementation
factory HttpError.fromJson(Map<String, dynamic> json) {
return HttpErrorImpl.fromJson(json);
}