GraphqlRunnerConfig class
This config required to init GraphqlRunner Under the hood it uses default ferry with hive and hive_flutter setup as described in ferry setup
You can provide a hiveSubDir - where the hive boxes should be stored.
- Annotations
Constructors
- GraphqlRunnerConfig({required AuthLink authLink, required HttpLink httpLink, String? hiveSubDir, DefaultPolicies? defaultPolicies, bool alwaysRebroadcast = false, GraphQLCache? cache, FetchPolicy? defaultFetchPolicy})
-
const
Properties
- alwaysRebroadcast → bool
-
final
- authLink → AuthLink
-
final
- cache → GraphQLCache?
-
final
- defaultFetchPolicy → FetchPolicy?
-
final
- defaultPolicies → DefaultPolicies?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hiveSubDir → String?
-
final
- httpLink → HttpLink
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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