IntroductoryPriceInfo.fromJson constructor

IntroductoryPriceInfo.fromJson(
  1. Map json_
)

Implementation

IntroductoryPriceInfo.fromJson(core.Map json_)
    : this(
        introductoryPriceAmountMicros:
            json_.containsKey('introductoryPriceAmountMicros')
                ? json_['introductoryPriceAmountMicros'] as core.String
                : null,
        introductoryPriceCurrencyCode:
            json_.containsKey('introductoryPriceCurrencyCode')
                ? json_['introductoryPriceCurrencyCode'] as core.String
                : null,
        introductoryPriceCycles: json_.containsKey('introductoryPriceCycles')
            ? json_['introductoryPriceCycles'] as core.int
            : null,
        introductoryPricePeriod: json_.containsKey('introductoryPricePeriod')
            ? json_['introductoryPricePeriod'] as core.String
            : null,
      );