CommunityLiveCollection class

Inheritance

Constructors

CommunityLiveCollection({required RequestBuilder<GetCommunityRequest> request})

Properties

currentToken String?
Current Token (Next page token)
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
isFetching bool
if live collection fetching next page
getter/setter pairinherited
request RequestBuilder<GetCommunityRequest>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getFirstPageRequest() Future<PageListData<List<AmityCommunity>, String>>
get the first page request( with out token)
override
getNextPageRequest(String? token) Future<PageListData<List<AmityCommunity>, String>>
get the next page request
override
getStreamController() StreamController<List<AmityCommunity>>
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