toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = Map<String, dynamic>();
if (this.errorItem != null) {
data['errorItem'] = this.errorItem!.toJson();
}
data['code'] = this.code;
data['description'] = this.description;
data['message'] = this.message;
return data;
}