HttpError.fromJson constructor

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

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);
}