ListingsListResponse.fromJson constructor

ListingsListResponse.fromJson(
  1. Map json_
)

Implementation

ListingsListResponse.fromJson(core.Map json_)
    : this(
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        listings: json_.containsKey('listings')
            ? (json_['listings'] as core.List)
                .map((value) => Listing.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );