Errors.fromJson constructor

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

Implementation

Errors.fromJson(Map<String, dynamic> json) {
errorItem = json['errorItem'] != null ? ErrorItem.fromJson(json['errorItem']) : null;
code = json['code'];
description = json['description'];
message = json['message'];
}