MessageView class

Annotations
  • @freezed

Constructors

MessageView({required String id, required String rev, required String text, List<Facet>? facets, @unionConvoMessageEmbedConverter UConvoMessageEmbed? embed, required MessageViewSender sender, required DateTime sentAt})
const
factory
MessageView.fromJson(Map<String, Object?> json)
factory

Properties

copyWith → $MessageViewCopyWith<MessageView>
no setterinherited
embed UConvoMessageEmbed?
no setterinherited
facets List<Facet>?
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