ListingResponse constructor

  1. @JsonSerializable(includeIfNull: false)
const ListingResponse({
  1. required Map<String, Listing> listings,
  2. required int total,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory ListingResponse({
  required Map<String, Listing> listings,
  required int total,
}) = _ListingResponse;