toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (count != null) 'count': count!,
      if (interval != null) 'interval': interval!,
      if (maxValue != null) 'maxValue': maxValue!,
      if (minValue != null) 'minValue': minValue!,
      if (value != null) 'value': value!,
    };