GoogleCloudChannelV1SkuPurchaseGroup.fromJson constructor

GoogleCloudChannelV1SkuPurchaseGroup.fromJson(
  1. Map json_
)

Implementation

GoogleCloudChannelV1SkuPurchaseGroup.fromJson(core.Map json_)
    : this(
        billingAccountPurchaseInfos: json_
                .containsKey('billingAccountPurchaseInfos')
            ? (json_['billingAccountPurchaseInfos'] as core.List)
                .map((value) =>
                    GoogleCloudChannelV1BillingAccountPurchaseInfo.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        skus: json_.containsKey('skus')
            ? (json_['skus'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );