FitbitSpO2IntradayData class
FitbitSpO2IntradayData is a class implementing the data model of the SpO2 data.
- Implemented types
Constructors
- FitbitSpO2IntradayData({String? userID, DateTime? dateOfMonitoring, double? value})
- Default FitbitSpO2IntradayData constructor.
-
FitbitSpO2IntradayData.fromJson({required Map<
String, dynamic> json}) -
Generates a FitbitSpO2IntradayData 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
- userID ↔ String?
-
The user encoded id.
getter/setter pair
- value ↔ double?
-
The average 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