FitbitCardioScoreData class
FitbitCardioScoreData is a class implementing the data model of the cardio score data.
- Implemented types
Constructors
- FitbitCardioScoreData({String? userID, DateTime? dateOfMonitoring, double? value})
- Default FitbitCardioScoreData constructor.
-
FitbitCardioScoreData.fromJson({required Map<
String, dynamic> json}) -
Generates a FitbitCardioScoreData 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 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