apiCall method

Future<Response> apiCall(
  1. NetworkState store
)
override

Implementation

Future<Response> apiCall(NetworkState store) async {
  print("CustomPostAction Endpoint: ${Uri.parse(path)}");
  return await post(
    Uri.parse(path),
    body: jsonEncode(body),
    headers: headers(store),
    encoding: Encoding.getByName("application/json"),
  );
}