GoogleCloudChannelV1PriceTier.fromJson constructor

GoogleCloudChannelV1PriceTier.fromJson(
  1. Map json_
)

Implementation

GoogleCloudChannelV1PriceTier.fromJson(core.Map json_)
    : this(
        firstResource: json_.containsKey('firstResource')
            ? json_['firstResource'] as core.int
            : null,
        lastResource: json_.containsKey('lastResource')
            ? json_['lastResource'] as core.int
            : null,
        price: json_.containsKey('price')
            ? GoogleCloudChannelV1Price.fromJson(
                json_['price'] as core.Map<core.String, core.dynamic>)
            : null,
      );