RegionalSubscriptionOfferConfig.fromJson constructor

RegionalSubscriptionOfferConfig.fromJson(
  1. Map json_
)

Implementation

RegionalSubscriptionOfferConfig.fromJson(core.Map json_)
    : this(
        newSubscriberAvailability:
            json_.containsKey('newSubscriberAvailability')
                ? json_['newSubscriberAvailability'] as core.bool
                : null,
        regionCode: json_.containsKey('regionCode')
            ? json_['regionCode'] as core.String
            : null,
      );