AutoRenewingPlan.fromJson constructor

AutoRenewingPlan.fromJson(
  1. Map json_
)

Implementation

AutoRenewingPlan.fromJson(core.Map json_)
    : this(
        autoRenewEnabled: json_.containsKey('autoRenewEnabled')
            ? json_['autoRenewEnabled'] as core.bool
            : null,
        installmentDetails: json_.containsKey('installmentDetails')
            ? InstallmentPlan.fromJson(json_['installmentDetails']
                as core.Map<core.String, core.dynamic>)
            : null,
        priceChangeDetails: json_.containsKey('priceChangeDetails')
            ? SubscriptionItemPriceChangeDetails.fromJson(
                json_['priceChangeDetails']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );