ActivityEventData class
Represents an activity event with type, confidence, and timestamp
Constructors
- ActivityEventData({required ActivityTypeData type, required int confidence, required int timestamp})
Properties
- confidence ↔ int
-
The confidence level (0-100) of the detection
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp ↔ int
-
The timestamp when the activity was detected (milliseconds since epoch)
getter/setter pair
- type ↔ ActivityTypeData
-
The type of activity detected
getter/setter pair
Methods
-
encode(
) → Object -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
decode(
Object result) → ActivityEventData