LikeQuery<T> class
Framework-independent query lifecycle shared by every presentation adapter.
Constructors
-
LikeQuery({required Future<
LikeApiResult< action(CancelToken token), required String scope(), required String origin, Iterable<T> >String> tags = const [], LikeInvalidationHub? invalidations, Stream<Object?> ? sessionChanges, Stream<String> ? restoredOrigins})
Properties
-
action
→ Future<
LikeApiResult< Function(CancelToken token)T> > -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- origin → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scope → String Function()
-
final
-
state
→ LikeStateResponse<
T> -
no setter
-
final
Methods
-
dispose(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
refresh(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
-
watch(
) → Stream< LikeStateResponse< T> > - Emits a snapshot on every new subscription, then subsequent transitions.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited