FitbitActivityTimeseriesData class
FitbitActivityTimeseriesData is a class implementing the data model of the physical activity timeseries data.
- Implemented types
Constructors
- FitbitActivityTimeseriesData({String? userID, DateTime? dateOfMonitoring, String? type, double? value})
- Default FitbitActivityTimeseriesData constructor.
-
FitbitActivityTimeseriesData.fromJson({required Map<
String, dynamic> json}) -
Generates a FitbitActivityTimeseriesData obtained from a json.
factory
Properties
- dateOfMonitoring ↔ DateTime?
-
The date of monitoring of the data.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ String?
-
The type of the activity timeseries data.
getter/setter pair
- userID ↔ String?
-
The user encoded id.
getter/setter pair
- value ↔ double?
-
The value of the data.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson<
T extends FitbitData> () → Map< String, dynamic> -
Converts the value to a json.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited