TimelineItem class sealed
One row of a conversation: a message or an event.
- Implementers
- Annotations
Constructors
- TimelineItem.fromJson(Json j)
-
Parses either shape, dispatching on
kind(or on the presence ofsender_typefor older payloads).factory
Properties
- conversationId → String
-
The conversation this row belongs to.
no setter
- createdAt → DateTime
-
When it was created.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Unique id.
no setter
- isLocal → bool
-
Rows the SDK made up locally (
showMessage, notices); never persisted.no setter - kind → String
-
messageorevent.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seq → int
-
Position in the conversation (monotonic).
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Json -
The wire shape, including
kind. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited