BaseMessage class

Implementers

Constructors

BaseMessage({int id = 0, String muid = '', User? sender, AppEntity? receiver, required String receiverUid, required String type, required String receiverType, String category = '', DateTime? sentAt, DateTime? deliveredAt, required DateTime? readAt, Map<String, dynamic>? metadata, DateTime? readByMeAt, DateTime? deliveredToMeAt, DateTime? deletedAt, DateTime? editedAt, String? deletedBy, String? editedBy, DateTime? updatedAt, String? conversationId, int parentMessageId = 0, int replyCount = 0})
BaseMessage.fromMap(dynamic map)
factory

Properties

category String
read / write
conversationId String?
read / write
deletedAt DateTime?
read / write
deletedBy String?
read / write
deliveredAt DateTime?
read / write
deliveredToMeAt DateTime?
read / write
editedAt DateTime?
read / write
editedBy String?
read / write
hashCode int
The hash code for this object.
read-onlyinherited
id int
read / write
metadata Map<String, dynamic>?
read / write
muid String
read / write
parentMessageId int
read / write
readAt DateTime?
read / write
readByMeAt DateTime?
read / write
receiver AppEntity?
read / write
receiverType String
read / write
receiverUid String
read / write
replyCount int
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
sender User?
read / write
sentAt DateTime?
read / write
type String
read / write
updatedAt DateTime?
read / write

Methods

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

Operators

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