apiCall method

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

Implementation

Future<Response> apiCall(NetworkState state) async {
  Uri finalEndpoint = endpoint(state.https, getFinalEndpoint(url, state));
  print("GET $finalEndpoint");

  return await get(
    finalEndpoint,
    headers: headers(state),
  );
}