RegionalBasePlanConfig.fromJson constructor

RegionalBasePlanConfig.fromJson(
  1. Map json_
)

Implementation

RegionalBasePlanConfig.fromJson(core.Map json_)
    : this(
        newSubscriberAvailability:
            json_.containsKey('newSubscriberAvailability')
                ? json_['newSubscriberAvailability'] as core.bool
                : null,
        price: json_.containsKey('price')
            ? Money.fromJson(
                json_['price'] as core.Map<core.String, core.dynamic>)
            : null,
        regionCode: json_.containsKey('regionCode')
            ? json_['regionCode'] as core.String
            : null,
      );