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