GoogleCloudChannelV1TransferableSku.fromJson constructor

GoogleCloudChannelV1TransferableSku.fromJson(
  1. Map json_
)

Implementation

GoogleCloudChannelV1TransferableSku.fromJson(core.Map json_)
    : this(
        legacySku: json_.containsKey('legacySku')
            ? GoogleCloudChannelV1Sku.fromJson(
                json_['legacySku'] as core.Map<core.String, core.dynamic>)
            : null,
        sku: json_.containsKey('sku')
            ? GoogleCloudChannelV1Sku.fromJson(
                json_['sku'] as core.Map<core.String, core.dynamic>)
            : null,
        transferEligibility: json_.containsKey('transferEligibility')
            ? GoogleCloudChannelV1TransferEligibility.fromJson(
                json_['transferEligibility']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );