ListListingsResponse.fromJson constructor

ListListingsResponse.fromJson(
  1. Map json_
)

Implementation

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