toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final contextValues = this.contextValues;
  final endKeyIndex = this.endKeyIndex;
  final info = this.info;
  final keysCount = this.keysCount;
  final metric = this.metric;
  final startKeyIndex = this.startKeyIndex;
  final timeOffset = this.timeOffset;
  final unit = this.unit;
  final value = this.value;
  return {
    'contextValues': ?contextValues,
    'endKeyIndex': ?endKeyIndex,
    'info': ?info,
    'keysCount': ?keysCount,
    'metric': ?metric,
    'startKeyIndex': ?startKeyIndex,
    'timeOffset': ?timeOffset,
    'unit': ?unit,
    'value': ?value,
  };
}