HttpFamily class Providers

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.

Copied from Http.

Inheritance

Constructors

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

Properties

allTransitiveDependencies Iterable<ProviderOrFamily>?
All the dependencies of a provider and their dependencies too.
read-onlyoverride
dependencies Iterable<ProviderOrFamily>?
The list of providers that this provider potentially depends on.
read-onlyoverride
from Family<Object?>?
The family that this provider/family depends on.
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
name String?
A custom label for providers.
read-onlyoverride
overriddenFamily Family<List<Map<String, dynamic>>>
The family that was overridden.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

call(String apiKey, String path) HttpProvider
Make http requests, and cache them in hiveBox (hiveHttpCache)].
getProviderOverride(covariant HttpProvider provider) HttpProvider
Obtains the new behavior for a provider associated to the overridden family.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited