Manage Beneficiary Services

This commit is contained in:
2025-08-09 22:10:26 +05:30
parent dbc61abf00
commit 83609fb778
6 changed files with 56 additions and 5 deletions

View File

@@ -1,5 +1,7 @@
// ignore_for_file: non_constant_identifier_names
class Beneficiary {
final String accountNo;
final String accountType;
@@ -18,8 +20,6 @@ class Beneficiary {
});
factory Beneficiary.fromJson(Map<String, dynamic> json) {
print('==============================');
print(json);
return Beneficiary(
accountNo: json['accountNo'] ?? '',
accountType: json['accountType'] ?? '',
@@ -29,7 +29,7 @@ class Beneficiary {
branchName: json['branchName'] ?? '',
);
}
Map<String, dynamic> toJson() {
return {
'accountNo': accountNo,