import 'Data.dart'; class SafetyVerificationEntity { SafetyVerificationEntity({ this.description, this.errorCode, this.data, this.errorMsg,}); SafetyVerificationEntity.fromJson(dynamic json) { description = json['description']; errorCode = json['errorCode']; data = json['data'] != null ? Data.fromJson(json['data']) : null; errorMsg = json['errorMsg']; } String? description; int? errorCode; Data? data; String? errorMsg; Map toJson() { final map = {}; map['description'] = description; map['errorCode'] = errorCode; if (data != null) { map['data'] = data!.toJson(); } map['errorMsg'] = errorMsg; return map; } }