Action class

Inheritance

Constructors

Action({required String message, required String rawData, required String action, required String oldScope, required String newScope, required int id, required String? muid, required User sender, required AppEntity receiver, required String receiverUid, required String type, required String receiverType, required String category, required DateTime sentAt, required DateTime deliveredAt, required DateTime readAt, Map<String, dynamic> metadata = const {}, required DateTime readByMeAt, required DateTime deliveredToMeAt, required DateTime deletedAt, required DateTime editedAt, required String? deletedBy, required String? editedBy, required DateTime updatedAt, required String conversationId, required int parentMessageId, required dynamic replyCount, AppEntity? actionBy, AppEntity? actionOn, AppEntity? actionFor})
Action.fromMap(dynamic map)
factory

Properties

action String
getter/setter pair
actionBy AppEntity?
getter/setter pair
actionFor AppEntity?
getter/setter pair
actionOn AppEntity?
getter/setter pair
category String
getter/setter pairinherited
conversationId String?
getter/setter pairinherited
deletedAt DateTime?
getter/setter pairinherited
deletedBy String?
getter/setter pairinherited
deliveredAt DateTime?
getter/setter pairinherited
deliveredToMeAt DateTime?
getter/setter pairinherited
editedAt DateTime?
getter/setter pairinherited
editedBy String?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
id int
getter/setter pairinherited
message String
getter/setter pair
metadata Map<String, dynamic>?
getter/setter pairinherited
muid String
getter/setter pairinherited
newScope String
getter/setter pair
oldScope String
getter/setter pair
parentMessageId int
getter/setter pairinherited
rawData String
getter/setter pair
readAt DateTime?
getter/setter pairinherited
readByMeAt DateTime?
getter/setter pairinherited
receiver AppEntity?
getter/setter pairinherited
receiverType String
getter/setter pairinherited
receiverUid String
getter/setter pairinherited
replyCount int
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sender User?
getter/setter pairinherited
sentAt DateTime?
getter/setter pairinherited
type String
getter/setter pairinherited
updatedAt DateTime?
getter/setter pairinherited

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.
override

Operators

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