SubscriptionPriceChange.fromJson constructor

SubscriptionPriceChange.fromJson(
  1. Map json_
)

Implementation

SubscriptionPriceChange.fromJson(core.Map json_)
    : this(
        newPrice: json_.containsKey('newPrice')
            ? Price.fromJson(
                json_['newPrice'] as core.Map<core.String, core.dynamic>)
            : null,
        state: json_.containsKey('state') ? json_['state'] as core.int : null,
      );