toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'commission_percent': commissionPercent,
'auto_withdraw': autoWithdraw,
'fines': fines,
'per_day_interest': perDayInterest,
'late_payment_fine': latePaymentFine,
'auto_advance': autoAdvance,
'auto_advance_type': autoAdvanceType,
'auto_advance_option': autoAdvanceOption,
'bank_slip': bankSlipOptions?.toMap(),
'credit_card': creditCardOptions?.toMap(),
};
}