class ErrorCommon { String? entityName; String? errorKey; int? status; ErrorCommon({this.entityName, this.errorKey, this.status}); ErrorCommon.fromJson(Map json) { entityName = json['entityName']; errorKey = json['errorKey']; status = json['status']; } Map toJson() { final data = {}; data['entityName'] = entityName; data['errorKey'] = errorKey; data['status'] = status; return data; } }