toJson method
Implementation
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
map['code'] = code;
map['status'] = status;
map['message'] = message;
if (listingData != null) {
map['data'] = listingData?.toJson();
}
return map;
}