toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (compatibilityFilter != null)
        'compatibilityFilter': compatibilityFilter!,
      if (dimensionFilter != null)
        'dimensionFilter': dimensionFilter!.toJson(),
      if (dimensions != null)
        'dimensions': dimensions!.map((value) => value.toJson()).toList(),
      if (metricFilter != null) 'metricFilter': metricFilter!.toJson(),
      if (metrics != null)
        'metrics': metrics!.map((value) => value.toJson()).toList(),
    };