DexcomCalibrationData class

DexcomCalibrationData is a class implementing the data model of the user calibration data.

Implemented types

Constructors

DexcomCalibrationData({required CalibrationValueUnit calibrationValueUnit, required DateTime systemTime, required DateTime displayTime, double? value})
Default DexcomCalibrationData constructor.
DexcomCalibrationData.fromJson({required Map<String, dynamic> json})
Generates a DexcomCalibrationData obtained from a json.
factory

Properties

calibrationValueUnit CalibrationValueUnit
The unit of measurement of the value field.
final
displayTime DateTime
The time displayed on the receiving device when the calibration blood glucose sample was recorded.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
systemTime DateTime
The time according to the system clock at which the calibration blood glucose sample was recorded; nominally UTC.
final
value double?
The calibration blood glucose sample value.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson<T extends DexcomData>() 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