toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cumulative != null) 'cumulative': cumulative!,
      if (distribution != null) 'distribution': distribution!,
      if (gauge != null) 'gauge': gauge!,
      if (internal != null) 'internal': internal!,
      if (kind != null) 'kind': kind!,
      if (meanCount != null) 'meanCount': meanCount!,
      if (meanSum != null) 'meanSum': meanSum!,
      if (name != null) 'name': name!,
      if (scalar != null) 'scalar': scalar!,
      if (set != null) 'set': set!,
      if (updateTime != null) 'updateTime': updateTime!,
    };