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