call method

HttpProvider call(
  1. String apiKey,
  2. String path
)

Make http requests, and cache them in hiveBox (hiveHttpCache)].

Require hiveBox(hiveHttpCache) to be awaited before start of app!

Read hive on init, state is a List from json http.Response , save state to Hive. {@category Providers}

Copied from Http.

Implementation

HttpProvider call(
  String apiKey,
  String path,
) {
  return HttpProvider(
    apiKey,
    path,
  );
}