ListingDataModel.fromJson constructor Null safety
Implementation
factory ListingDataModel.fromJson(Map<String, dynamic> json) =>
ListingDataModel(
length: json["length"],
items: json["items"] == null
? null
: List<ListingItem>.from(
json["items"].map((x) => ListingItem.fromJson(x))),
);