ReactionLiveCollection class
- Inheritance
-
- Object
- LiveCollection<
AmityReaction> - ReactionLiveCollection
Constructors
-
ReactionLiveCollection({required RequestBuilder<
GetReactionRequest> request})
Properties
- currentToken ↔ String?
-
Current Token (Next page token)
getter/setter pairinherited
- defaultPageSize → int
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFetching ↔ bool
-
if live collection fetching next page
getter/setter pairinherited
-
request
↔ RequestBuilder<
GetReactionRequest> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getFirstPageRequest(
) → Future< PageListData< List< >AmityReaction> , String> -
get the first page request( with out token)
override
-
getNextPageRequest(
String? token) → Future< PageListData< List< >AmityReaction> , String> -
get the next page request
override
-
getStreamController(
) → StreamController< List< AmityReaction> > -
Listen to live collection
override
-
hasNextPage(
) → bool -
Check if live collection have next page
inherited
-
loadNext(
) → Future -
Load next page for live collection
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onError(
dynamic onErrorCallback(Object? error, StackTrace stackTrace)) → void -
OnError
inherited
-
reset(
) → bool -
Reset the live collection
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited