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_.containsKey('loyaltyPoints')
? json_['loyaltyPoints'] as core.String
: null,
price: json_.containsKey('price')
? Price.fromJson(
json_['price'] as core.Map<core.String, core.dynamic>)
: null,
programLabel: json_.containsKey('programLabel')
? json_['programLabel'] as core.String
: null,
tierLabel: json_.containsKey('tierLabel')
? json_['tierLabel'] as core.String
: null,
);