toJson method
Implementation
Map<String, Object?> toJson() {
var errorMessages = this.errorMessages;
var errors = this.errors;
final json = <String, Object?>{};
json[r'errorMessages'] = errorMessages;
json[r'errors'] = errors;
return json;
}