Timeline class

The loaded window of a conversation.

Annotations

Constructors

Timeline({List<TimelineItem> items = const [], bool hasMore = false, int lastSeq = 0, int oldestSeq = 0})
Creates a timeline.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
hasMore → bool
Older items exist before oldestSeq.
final
items → List<TimelineItem>
Items in display order (oldest first).
final
lastSeq → int
Highest seq of a server item (local rows do not count).
final
oldestSeq → int
Lowest seq of a server item (0 when none).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({List<TimelineItem>? items, bool? hasMore, int? lastSeq, int? oldestSeq}) → Timeline
Copies with some fields replaced.
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

Constants

empty → const Timeline
Nothing loaded.