MessagesModel class
Constructors
-
MessagesModel({String? message, String? readBy, String? type, String? msgId, String? secretKey, String? sentBy, List<
String> ? viewBy, SentAt? timeMilliSeconds, SentAt? sentAt, bool? isRead, String? image, String? base64Thumbnail, String? video, String? thumbnail, String? document, String? audio}) -
MessagesModel.fromJson(Map<
String, dynamic> json) -
factory
Properties
- audio ↔ String?
-
getter/setter pair
- base64Thumbnail ↔ String?
-
getter/setter pair
- document ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- image ↔ String?
-
getter/setter pair
- isRead ↔ bool?
-
getter/setter pair
- message ↔ String?
-
getter/setter pair
- msgId ↔ String?
-
getter/setter pair
- readBy ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secretKey ↔ String?
-
getter/setter pair
- sentAt ↔ SentAt?
-
getter/setter pair
- sentBy ↔ String?
-
getter/setter pair
- thumbnail ↔ String?
-
getter/setter pair
- timeMilliSeconds ↔ SentAt?
-
getter/setter pair
- type ↔ String?
-
getter/setter pair
- video ↔ String?
-
getter/setter pair
-
viewBy
↔ List<
String> ? -
getter/setter pair
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