MessageView class

Available extensions
Annotations
  • @freezed

Constructors

MessageView({@Default(chatBskyConvoDefsMessageView) @JsonKey(name: r'$type') String $type, required String id, required String rev, required String text, @FacetConverter() List<Facet>? facets, @UMessageViewEmbedConverter() UMessageViewEmbed? embed, @MessageViewSenderConverter() required MessageViewSender sender, required DateTime sentAt, @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown})
const
factory
MessageView.fromJson(Map<String, dynamic> json)
factory

Properties

$type String
The unique namespace for this lex object.
no setterinherited
$unknown Map<String, dynamic>?
Contains unknown objects not defined in Lexicon.
no setterinherited
copyWith → $MessageViewCopyWith<MessageView>
no setterinherited
embed UMessageViewEmbed?
no setterinherited
facets List<Facet>?
Annotations of text (mentions, URLs, hashtags, etc)
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
no setterinherited
rev String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sender MessageViewSender
no setterinherited
sentAt DateTime
no setterinherited
text String
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited