ListOneTimeProductOffersResponse.fromJson constructor

ListOneTimeProductOffersResponse.fromJson(
  1. Map json_
)

Implementation

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