toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (filters != null) 'filters': filters!,
      if (kind != null) 'kind': kind!,
      if (metricNames != null) 'metricNames': metricNames!,
    };