LoyaltyProgram.fromJson constructor
LoyaltyProgram.fromJson(
- Map json_
Implementation
LoyaltyProgram.fromJson(core.Map json_)
: this(
cashbackForFutureUse: json_.containsKey('cashbackForFutureUse')
? Price.fromJson(json_['cashbackForFutureUse']
as core.Map<core.String, core.dynamic>)
: null,
loyaltyPoints: json_['loyaltyPoints'] as core.String?,
memberPriceEffectiveDate:
json_['memberPriceEffectiveDate'] as core.String?,
price: json_.containsKey('price')
? Price.fromJson(
json_['price'] as core.Map<core.String, core.dynamic>)
: null,
programLabel: json_['programLabel'] as core.String?,
shippingLabel: json_['shippingLabel'] as core.String?,
tierLabel: json_['tierLabel'] as core.String?,
);