Interaction class

Represents an interaction within the chat.

This class includes properties that encapsulate details of an interaction, including the elementId of the interacted element and the time of interaction.

Constructors

Interaction({required String elementId, required DateTime interactedAt})
Constructs a new Interaction instance.
Interaction.fromMap(dynamic map)
Creates a new Interaction instance from a map.
factory

Properties

elementId String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
interactedAt DateTime
getter/setter pair
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>
Generates a map representing the Interaction.
toString() String
Generates a string representation of the Interaction.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited