QueryBuilder class

Constructors

QueryBuilder()

Properties

hashCode int
The hash code for this object.
no setterinherited
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

Static Methods

fetch<T>({required String name, required QueryFn<T> query, required FetchBuilderFn<T> builder, Duration revalidate = const Duration(seconds: 60), Duration? refresh, ActionFn<T>? action, LoadingBuilderFn? loadingBuilder, EmptyBuilderFn? emptyBuilder, ErrorBuilderFn? errorBuilder, bool cache = true, bool fetchOnInit = true}) Widget
mutate<T>({required String name, required QueryFn<T> mutate, required FetchBuilderFn<T> builder, Duration revalidate = const Duration(seconds: 60), Duration? refresh, ActionFn<T>? action, LoadingBuilderFn? loadingBuilder, EmptyBuilderFn? emptyBuilder, ErrorBuilderFn? errorBuilder, bool cache = true}) Widget