toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'id': id,
'description': description,
'scheduled_date': scheduledDate,
'invoice_id': invoiceId,
'customer_ref': customerRef,
'total': total,
'taxes': taxes,
'client_share': clientShare,
'commission': commission,
'number_of_installments': numberOfInstallments,
'installment': installment,
};
}