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.
read-only
hashCode int
The hash code for this object.
read-onlyinherited
hasMore bool
Whether there's more data to load.
read-only
isDisposed bool
Whether this collection is disposed.
read-only
isLoading bool
Whether this collection is loading.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

canAddChannel(CollectionEventSource eventSource, GroupChannel addedChannel) 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