GroupChannelCollection class

Collection that handles channel lists.

Constructors

GroupChannelCollection({required GroupChannelListQuery query, required GroupChannelCollectionHandler handler})
Constructor

Properties

channelList List<GroupChannel>
The List<GroupChannel> of total channel list.
final
handler GroupChannelCollectionHandler
The group channel collection handler to be used for this GroupChannelCollection.
no setter
hashCode int
The hash code for this object.
no setterinherited
hasMore bool
Whether there's more data to load.
no setter
isDisposed bool
Whether this collection is disposed.
no setter
isLoading bool
Whether this collection is loading.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

canAddChannel(CollectionEventSource eventSource, GroupChannel addedChannel, {bool checkToUpdateChannel = false}) Future<bool>
dispose() → void
Disposes current GroupChannelCollection and stops all events from being received.
loadMore() Future<void>
Loads next channel lists, depending on the GroupChannelListQueryOrder set in the current collection.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sort() → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited