ReceivedMessage class
Message receiving status.
- Annotations
-
- @freezed
Constructors
- ReceivedMessage({@JsonKey(name: 'chat') required String chat, @JsonKey(name: 'message_id') required String messageId, @JsonKey(name: 'received') required bool received, @JsonKey(name: 'num_received') int? numReceived, @JsonKey(name: '_debug') String? debug})
-
constfactory
-
ReceivedMessage.fromJson(Map<
String, dynamic> json) -
factory
Properties
- chat → String
-
Chat or contact id.
no setterinherited
-
copyWith
→ $ReceivedMessageCopyWith<
ReceivedMessage> -
no setterinherited
- debug → String?
-
Debug message, if any.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- messageId → String
-
Message id.
no setterinherited
- numReceived → int?
-
Number of contacts received this message. Experimental.
no setterinherited
- received → bool
-
Is received.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited