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,
        priceChangeDetails: json_.containsKey('priceChangeDetails')
            ? SubscriptionItemPriceChangeDetails.fromJson(
                json_['priceChangeDetails']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );