toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (contextValues != null) 'contextValues': contextValues!,
if (endKeyIndex != null) 'endKeyIndex': endKeyIndex!,
if (info != null) 'info': info!,
if (keysCount != null) 'keysCount': keysCount!,
if (metric != null) 'metric': metric!,
if (startKeyIndex != null) 'startKeyIndex': startKeyIndex!,
if (timeOffset != null) 'timeOffset': timeOffset!,
if (unit != null) 'unit': unit!,
if (value != null) 'value': value!,
};