class NeftTransaction { final String fromAccount; final String toAccount; final String amount; final String ifscCode; final String remitterName; final String beneficiaryName; final String tpin; NeftTransaction({ required this.fromAccount, required this.toAccount, required this.amount, required this.ifscCode, required this.remitterName, required this.beneficiaryName, required this.tpin, }); Map toJson() { return { 'fromAccount': fromAccount, 'toAccount': toAccount, 'amount': amount, 'ifscCode': ifscCode, 'remitterName': remitterName, 'beneficiaryName': beneficiaryName, 'tpin': tpin, }; } }