retrieve_virtual_account_balance method
Implementation
Future<BankAccount> retrieve_virtual_account_balance(
Map<String, dynamic> payload,
[String? requestRef]) async {
// Make the API request using the `makeRequest` method
var response = await ApiService().makeRequest(
ServiceTypes.RETRIEVE_VIRTUAL_ACCOUNT_BALANCE, payload, requestRef);
// Create a new instance of the `KudaResponse` class
var kudaResponse = BankAccount.fromJson(response);
// Return the `KudaResponse` instance
return kudaResponse;
}