ChatMessageQuote class
ChatItemQuote of a ChatMessage.
- Inheritance
-
- Object
- ChatItemQuote
- ChatMessageQuote
- Annotations
Constructors
-
ChatMessageQuote({ChatItem? original, required UserId author, required PreciseDateTime at, ChatMessageText? text, List<
Attachment> attachments = const []}) -
ChatMessageQuote.fromJson(Map<
String, dynamic> json) -
Constructs a ChatMessageQuote from the provided
json
.factory
Properties
- at → PreciseDateTime
-
PreciseDateTime when the quoted ChatItem was created.
finalinherited
-
attachments
→ List<
Attachment> -
Attachments the quoted ChatMessage had when this ChatItemQuote was
made.
final
-
User who created the quoted ChatItem.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- original → ChatItem?
-
Quoted ChatItem.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → ChatMessageText?
-
ChatMessageText the quoted ChatMessage had when this ChatItemQuote
was made.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Returns a Map representing this ChatMessageQuote.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited