SubscriptionItemPriceChangeDetails.fromJson constructor

SubscriptionItemPriceChangeDetails.fromJson(
  1. Map json_
)

Implementation

SubscriptionItemPriceChangeDetails.fromJson(core.Map json_)
    : this(
        expectedNewPriceChargeTime:
            json_.containsKey('expectedNewPriceChargeTime')
                ? json_['expectedNewPriceChargeTime'] as core.String
                : null,
        newPrice: json_.containsKey('newPrice')
            ? Money.fromJson(
                json_['newPrice'] as core.Map<core.String, core.dynamic>)
            : null,
        priceChangeMode: json_.containsKey('priceChangeMode')
            ? json_['priceChangeMode'] as core.String
            : null,
        priceChangeState: json_.containsKey('priceChangeState')
            ? json_['priceChangeState'] as core.String
            : null,
      );