GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse.fromJson constructor Null safety

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,
      );