MediaMessage class
- Inheritance
-
- Object
- AppEntity
- BaseMessage
- MediaMessage
Constructors
-
MediaMessage({String? caption, Attachment? attachment, String? file, List<
String> ? tags, int? id, String? muid, User? sender, AppEntity? receiver, required String receiverUid, required String type, required String receiverType, String? category, DateTime? sentAt, DateTime? deliveredAt, DateTime? readAt, Map<String, dynamic> ? metadata, DateTime? readByMeAt, DateTime? deliveredToMeAt, DateTime? deletedAt, DateTime? editedAt, String? deletedBy, String? editedBy, DateTime? updatedAt, String? conversationId, int? parentMessageId, int? replyCount}) - MediaMessage.fromMap(dynamic map, {AppEntity? receiver})
-
factory
Properties
- attachment ↔ Attachment?
-
read / write
- caption ↔ 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
- file ↔ String?
-
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- id ↔ int
-
read / writeinherited
-
metadata
↔ Map<
String, dynamic> ? -
read / writeinherited
- muid ↔ String
-
read / writeinherited
- parentMessageId ↔ int
-
read / writeinherited
- 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
-
read / write
- type ↔ String
-
read / writeinherited
- updatedAt ↔ DateTime?
-
read / writeinherited
Methods
-
getMentionedUsers(
) → List< User> -
override
-
hasMentionedMe(
) → bool -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited