SubscriptionOfferTargeting.fromJson constructor

SubscriptionOfferTargeting.fromJson(
  1. Map json_
)

Implementation

SubscriptionOfferTargeting.fromJson(core.Map json_)
    : this(
        acquisitionRule: json_.containsKey('acquisitionRule')
            ? AcquisitionTargetingRule.fromJson(json_['acquisitionRule']
                as core.Map<core.String, core.dynamic>)
            : null,
        upgradeRule: json_.containsKey('upgradeRule')
            ? UpgradeTargetingRule.fromJson(
                json_['upgradeRule'] as core.Map<core.String, core.dynamic>)
            : null,
      );