updateBankInfosFromSeller method

Future<BankAccountModel?> updateBankInfosFromSeller({
  1. dynamic fullName,
  2. dynamic accountType,
  3. dynamic bankName,
  4. dynamic currency,
  5. dynamic swiftCode,
  6. dynamic bicCode,
  7. dynamic bankAddress,
  8. dynamic cryptoWalletaddress,
  9. dynamic accountNumber,
})

Implementation

Future<BankAccountModel?> updateBankInfosFromSeller(
    {fullName,
    accountType,
    bankName,
    currency,
    swiftCode,
    bicCode,
    bankAddress,
    cryptoWalletaddress,
    accountNumber}) async {
  Map<String, dynamic> params = {
    "fullName": fullName,
    "accountType": accountType,
    "bankName": bankName,
    "currency": currency,
    "swiftCode": swiftCode,
    "bicCode": bicCode,
    "bankAddress": bankAddress,
    "cryptoWalletaddress": cryptoWalletaddress,
    "accountNumber": accountNumber,
  };
  NetworkResponse response = await _api.updateBankInfosFromSeller(params);
  return response.data;
}