ChatMessage class
- Annotations
-
- @JsonSerializable.new()
Constructors
-
ChatMessage({required ChatMessageDetail message, String? id, bool? fromMe, List<
QuickReplyMessage> ? quickReplyMessage, String? time, bool? isShowQuickReply, bool? showAvatar, bool? showAction, bool? rated, bool? like, bool? isLoading}) -
ChatMessage.fromJson(Map<
String, dynamic> json) -
factory
Properties
- fromMe ↔ bool?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
getter/setter pair
- isLoading ↔ bool?
-
getter/setter pair
- isShowQuickReply ↔ bool?
-
getter/setter pair
- like ↔ bool?
-
getter/setter pair
- message ↔ ChatMessageDetail
-
getter/setter pair
-
quickReplyMessage
↔ List<
QuickReplyMessage> ? -
getter/setter pair
- rated ↔ bool?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showAction ↔ bool?
-
getter/setter pair
- showAvatar ↔ bool?
-
getter/setter pair
- time ↔ String?
-
getter/setter pair
Methods
-
copyWith(
{ChatMessageDetail? message, String? time, String? id, bool? fromMe, bool? isShowQuickReply, bool? showAction, bool? showAvatar, bool? rated, bool? like, List< QuickReplyMessage> ? quickReplyMessage}) → ChatMessage -
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