GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse.fromJson constructor

GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse.fromJson(
    core.Map json_)
    : this(
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        products: json_.containsKey('products')
            ? (json_['products'] as core.List)
                .map((value) =>
                    GoogleCloudPaymentsResellerSubscriptionV1Product.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );