KLPEventModel class
Event model for tracking user behavioral interactions
Constructors
- KLPEventModel({int? timestamp, String? event, int? distance, int? duration, String? key, KLPPosition? position, String? target})
-
KLPEventModel.fromJson(Map<
String, dynamic> json) -
factory
Properties
- distance → int?
-
Distance traveled for pointer events
final
- duration → int?
-
Duration of the event in milliseconds
final
- event → String?
-
Event type: 'click', 'keyboard', 'pointer'
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String?
-
Key pressed for keyboard events
final
- position → KLPPosition?
-
Position of the event (single point or multiple points for swipe)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- target → String?
-
Target widget path/identifier
final
- timestamp → int
-
Timestamp in milliseconds since epoch
final
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited