toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'object'] = this.object;
json[r'id'] = this.id;
json[r'plan_id'] = this.planId;
json[r'instance_id'] = this.instanceId;
json[r'currency'] = this.currency;
json[r'currency_symbol'] = this.currencySymbol;
json[r'amount'] = this.amount;
json[r'annual_monthly_amount'] = this.annualMonthlyAmount;
json[r'fee'] = this.fee;
json[r'annual_monthly_fee'] = this.annualMonthlyFee;
if (this.description != null) {
json[r'description'] = this.description;
} else {
json[r'description'] = null;
}
json[r'created_at'] = this.createdAt;
return json;
}