toJson<T extends DexcomData> method
Converts the value
to a json.
Implementation
@override
Map<String, dynamic> toJson<T extends DexcomData>() {
return <String, dynamic>{
'calibrationsStartSystemTime' : calibrationsStartSystemTime == null ? null : Formats.fullDateFormat.format(calibrationsStartSystemTime!),
'calibrationsEndSystemTime' : calibrationsEndSystemTime == null ? null : Formats.fullDateFormat.format(calibrationsEndSystemTime!),
'calibrationsStartDisplayTime' : calibrationsStartDisplayTime == null ? null : Formats.fullDateFormat.format(calibrationsStartDisplayTime!),
'calibrationsEndDisplayTime' : calibrationsEndDisplayTime == null ? null : Formats.fullDateFormat.format(calibrationsEndDisplayTime!),
'egvsStartSystemTime' : egvsStartSystemTime == null ? null : Formats.fullDateFormat.format(egvsStartSystemTime!),
'egvsEndSystemTime' : egvsEndSystemTime == null ? null : Formats.fullDateFormat.format(egvsEndSystemTime!),
'egvsStartDisplayTime' : egvsStartDisplayTime == null ? null : Formats.fullDateFormat.format(egvsStartDisplayTime!),
'egvsEndDisplayTime' : egvsEndDisplayTime == null ? null : Formats.fullDateFormat.format(egvsEndDisplayTime!),
'eventsStartSystemTime' : eventsStartSystemTime == null ? null : Formats.fullDateFormat.format(eventsStartSystemTime!),
'eventsEndSystemTime' : eventsEndSystemTime == null ? null : Formats.fullDateFormat.format(eventsEndSystemTime!),
'eventsStartDisplayTime' : eventsStartDisplayTime == null ? null : Formats.fullDateFormat.format(eventsStartDisplayTime!),
'eventsEndDisplayTime' : eventsEndDisplayTime == null ? null : Formats.fullDateFormat.format(eventsEndDisplayTime!),
};
}