ProductSubscriptionCost.fromJson constructor
ProductSubscriptionCost.fromJson(
- Map json_
Implementation
ProductSubscriptionCost.fromJson(core.Map json_)
: this(
amount: json_.containsKey('amount')
? Price.fromJson(
json_['amount'] as core.Map<core.String, core.dynamic>)
: null,
period: json_.containsKey('period')
? json_['period'] as core.String
: null,
periodLength: json_.containsKey('periodLength')
? json_['periodLength'] as core.String
: null,
);