LikeQuery<T> class

Framework-independent query lifecycle shared by every presentation adapter.

Constructors

LikeQuery({required Future<LikeApiResult<T>> action(CancelToken token), required String scope(), required String origin, Iterable<String> tags = const [], LikeInvalidationHub? invalidations, Stream<Object?>? sessionChanges, Stream<String>? restoredOrigins})

Properties

action → Future<LikeApiResult<T>> Function(CancelToken token)
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
tags → Set<String>
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