Error.fromJson constructor
Implementation
factory Error.fromJson(Map<String, dynamic> json) => Error(
locations: json['locations'] == null
? null
: List<Location>.from(
json['locations'].map((dynamic x) => Location.fromJson(x))),
message: json['message'],
path: json['path'] == null
? null
: List<String>.from(json['path'].map((dynamic x) => x)),
);