DexcomDeviceData class
DexcomDeviceData is a class implementing the data model of the user device data.
- Implemented types
Constructors
-
DexcomDeviceData({TransmitterGeneration? transmitterGeneration, DisplayDevice? displayDevice, required DateTime lastUploadDate, required List<
AlertSchedule> alertScheduleList}) - Default DexcomDeviceData constructor.
-
DexcomDeviceData.fromJson({required Map<
String, dynamic> json}) -
Generates a DexcomDeviceData obtained from a json.
factory
Properties
-
alertScheduleList
→ List<
AlertSchedule> -
Array of
AlertSchedule
for the device as of the lastUploadDate.final - displayDevice → DisplayDevice?
-
The DisplayDevice of the Dexcom device.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastUploadDate → DateTime
-
Server timestamp, in UTC, of last upload event for the device that
contributed data in the specified time window; note that this may be outside
the range defined by the
startDate
andendDate
query parametersfinal - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transmitterGeneration → TransmitterGeneration?
-
The TransmitterGeneration of the Dexcom device.
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