ChannelHistory class
Represents history of messages in a channel that can be counted, fetched or removed.
Properties
- from ↔ Timetoken?
-
Lower bound on the messages timetoken.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
messages
→ List<
BaseMessage> -
Readonly list of fetched messages. It will be empty before first fetch.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- to ↔ Timetoken?
-
Upper bound on the messages timetoken.
getter/setter pair
Methods
-
count(
) → Future< int> - Returns a number of messages after from.
-
delete(
) → Future< void> - Delete all matching messages based on Channel.history description.
-
fetch(
) → Future< void> - Retrieve all matching messages based on Channel.history description.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited