ChatInfo class

Information about an action taken upon a Chat.

Inheritance
Available extensions
Annotations

Constructors

ChatInfo(ChatItemId id, ChatId chatId, User author, PreciseDateTime at, {required ChatInfoAction action})
ChatInfo.fromJson(Map<String, dynamic> json)
Constructs a ChatInfo from the provided json.
factory

Properties

action → ChatInfoAction
ChatInfoAction taken upon the Chat.
final
at ↔ PreciseDateTime
PreciseDateTime when this ChatItem was posted.
getter/setter pairinherited
author → User
User who posted this ChatItem.
finalinherited
chatId ↔ ChatId
ID of the Chat this ChatItem was posted in.
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setteroverride
id → ChatItemId
Unique ID of this ChatItem.
finalinherited
key → ChatItemKey
Returns combined at and id unique identifier of this ChatItem.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → Rx<SendingStatus>
SendingStatus of this ChatItem.
finalinherited

Methods

isEditable(Chat chat, UserId me) → bool

Available on ChatItem, provided by the IsChatItemEditable extension

Indicates whether this ChatItem is editable.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Returns a Map representing this ChatInfo.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override