processTransaction method

Future<(dynamic, ApiResponseMessage?)> processTransaction(
  1. String? module,
  2. String? method,
  3. Map<String, dynamic> finalData
)

Implementation

Future<(dynamic, ApiResponseMessage?)> processTransaction(
    String? module, String? method, Map<String, dynamic> finalData) async {
  return await apiClient.postRequest(
      "transactions/$module/$method", {...finalData, "test": test});
}