toJson method
Serializes this ValidationError to JSON.
Implementation
Map<String, dynamic> toJson() => <String, dynamic>{
'ErrorCode': code,
'ErrorMessage': message,
'PropertyName': propertyName
};
Serializes this ValidationError to JSON.
Map<String, dynamic> toJson() => <String, dynamic>{
'ErrorCode': code,
'ErrorMessage': message,
'PropertyName': propertyName
};