OtherRegionsBasePlanConfig.fromJson constructor

OtherRegionsBasePlanConfig.fromJson(
  1. Map json_
)

Implementation

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