Action class
- Inheritance
-
- Object
- BaseMessage
- Action
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 int replyCount}) - Action.fromMap(dynamic map)
-
factory
Properties
- action ↔ String
-
read / write
- category ↔ String
-
read / writeinherited
- conversationId ↔ String?
-
read / writeinherited
- deletedAt ↔ DateTime?
-
read / writeinherited
- deletedBy ↔ String?
-
read / writeinherited
- deliveredAt ↔ DateTime?
-
read / writeinherited
- deliveredToMeAt ↔ DateTime?
-
read / writeinherited
- editedAt ↔ DateTime?
-
read / writeinherited
- editedBy ↔ String?
-
read / writeinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- id ↔ int
-
read / writeinherited
- message ↔ String
-
read / write
-
metadata
↔ Map<
String, dynamic> ? -
read / writeinherited
- muid ↔ String
-
read / writeinherited
- newScope ↔ String
-
read / write
- oldScope ↔ String
-
read / write
- parentMessageId ↔ int
-
read / writeinherited
- rawData ↔ String
-
read / write
- readAt ↔ DateTime?
-
read / writeinherited
- readByMeAt ↔ DateTime?
-
read / writeinherited
- receiver ↔ AppEntity?
-
read / writeinherited
- receiverType ↔ String
-
read / writeinherited
- receiverUid ↔ String
-
read / writeinherited
- replyCount ↔ int
-
read / writeinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- sender ↔ User?
-
read / writeinherited
- sentAt ↔ DateTime?
-
read / writeinherited
- type ↔ String
-
read / writeinherited
- updatedAt ↔ DateTime?
-
read / writeinherited
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