toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.brandName != null) {
json[r'brandName'] = this.brandName;
} else {
json[r'brandName'] = null;
}
if (this.isRedeemableGlobally != null) {
json[r'isRedeemableGlobally'] = this.isRedeemableGlobally;
} else {
json[r'isRedeemableGlobally'] = null;
}
if (this.redemptionInstructions != null) {
json[r'redemptionInstructions'] = this.redemptionInstructions;
} else {
json[r'redemptionInstructions'] = null;
}
return json;
}