Activity class

A model representing the user's activity.

Constructors

Activity(ActivityType type, ActivityConfidence confidence)
Constructs an instance of Activity.
const
Activity.fromJson(Map<String, dynamic> json)
factory

Properties

confidence ActivityConfidence
The confidence of activity recognized.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type ActivityType
The type of activity recognized.
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.
inherited

Operators

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