DexcomStatisticsData class

DexcomStatisticsData is a class implementing the data model of the user statistics data.

Implemented types

Constructors

DexcomStatisticsData({HypoglycemiaRisk? hypoglycemiaRisk, double? min, double? max, double? mean, double? median, double? variance, double? stdDev, double? sum, double? q1, double? q2, double? q3, double? utilizationPercent, double? meanDailyCalibrations, double? nDays, double? nValues, double? nUrgentLow, double? nBelowRange, double? nWithinRange, double? nAboveRange, double? percentUrgentLow, double? percentBelowRange, double? percentWithinRange, double? percentAboveRange})
Default DexcomStatisticsData constructor.
DexcomStatisticsData.fromJson({required Map<String, dynamic> json})
Generates a DexcomStatisticsData obtained from a json.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
hypoglycemiaRisk HypoglycemiaRisk?
Risk for the patient to have future hypoglycemic events.
final
max double?
Maximum of all EGV data for given date range.
final
mean double?
Mean of all EGV data for given date range.
final
meanDailyCalibrations double?
Mean number of calibrations per day for given date range
final
median double?
Median of all EGV data for given date range.
final
min double?
Minimum of all EGV data for given date range
final
nAboveRange double?
Number of EGV observations above high bound (exclusive) specified in egvRanges array
final
nBelowRange double?
Number of EGV observations below low bound (exclusive) and above urgentLow bound (inclusive) specified in egvRanges array
final
nDays double?
Number of calendar days contributing data to the statistics calculations; only days containing EGV data are included in this count
final
nUrgentLow double?
Number of EGV observations below urgentLow bound (exclusive) specified in egvRanges array
final
nValues double?
Total number of EGV observations for given date range
final
nWithinRange double?
Number of EGV observations between high bound (inclusive) and above low bound (inclusive) specified in egvRanges array
final
percentAboveRange double?
Percentage of EGV observations above high bound (exclusive) specified in egvRanges array
final
percentBelowRange double?
Percentage of EGV observations below low bound (exclusive) and above urgentLow bound (inclusive) specified in egvRanges array
final
percentUrgentLow double?
Percentage of EGV observations below urgentLow bound (exclusive) specified in egvRanges array
final
percentWithinRange double?
Percentage of EGV observations between high bound (inclusive) and above low bound (inclusive) specified in egvRanges array
final
q1 double?
First quartile of all EGV data for given date range
final
q2 double?
Second quartile of all EGV data for given date range
final
q3 double?
Third quartile of all EGV data for given date range
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stdDev double?
Standard deviation of all EGV data for given date range
final
sum double?
Sum of all EGV data for given date range
final
utilizationPercent double?
Percent CGM sensor was utilized for given date range
final
variance double?
Statistical variance of glucose level for given date range
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