ProductBundleDetails.fromJson constructor

ProductBundleDetails.fromJson(
  1. Map json_
)

Implementation

ProductBundleDetails.fromJson(core.Map json_)
    : this(
        bundleElements: json_.containsKey('bundleElements')
            ? (json_['bundleElements'] as core.List)
                .map((value) =>
                    GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        entitlementMode: json_.containsKey('entitlementMode')
            ? json_['entitlementMode'] as core.String
            : null,
      );