ErrorEventModel.fromJson constructor
Creates an ErrorEventModel object from a JSON map.
This constructor deserializes the JSON data into an ErrorEventModel object.
Implementation
ErrorEventModel.fromJson(Map<String, dynamic> json) {
message = json['message'];
code = json['code'];
}