InteractionReceipt class
Represents an interaction receipt within the chat.
This class includes properties that encapsulate details of an interaction receipt, including the messageId, sender, receiverType, receiverId, and list of interactions.
Constructors
-
InteractionReceipt({required int messageId, required User sender, required String receiverType, required String receiverId, required List<
Interaction> interactions}) -
Constructs a new
InteractionReceipt
instance. - InteractionReceipt.fromMap(dynamic map)
-
Creates a new
InteractionReceipt
instance from a map.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
interactions
↔ List<
Interaction> -
getter/setter pair
- messageId ↔ int
-
getter/setter pair
- receiverId ↔ String
-
getter/setter pair
- receiverType ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sender ↔ User
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Generates a string representation of the
InteractionReceipt
.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited