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