FitbitSpO2Data class

FitbitSpO2Data is a class implementing the data model of the SpO2 data.

Implemented types

Constructors

FitbitSpO2Data({String? userID, DateTime? dateOfMonitoring, double? avgValue, double? minValue, double? maxValue})
Default FitbitSpO2Data constructor.
FitbitSpO2Data.fromJson({required Map<String, dynamic> json})
Generates a FitbitSpO2Data obtained from a json.
factory

Properties

avgValue double?
The average value of the data.
getter/setter pair
dateOfMonitoring DateTime?
The date of monitoring of the data.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
maxValue double?
The maximum value of the data.
getter/setter pair
minValue double?
The minimum value of the data.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userID String?
The user encoded id.
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