QueryClientModule class

Installs a Query client into an application context.

Inheritance
Implementers

Constructors

QueryClientModule({QueryClient? client})
Creates a module with an owned or caller-owned client.
QueryClientModule.server()
Creates a request-scoped server Query client.

Properties

client → QueryClient
The client registered by this module.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose(AppContext context) → void
Releases resources owned by this module.
override
initialize(AppContext context) → FutureOr<void>
Starts work after every module has registered its values.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register(ModuleRegistry registry) → void
Registers the values and bindings owned by this module.
override
toString() → String
A string representation of this object.
inherited

Operators

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