toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (filters != null) 'filters': filters!,
  if (groupBys != null) 'groupBys': groupBys!,
  if (metrics != null) 'metrics': metrics!,
  if (options != null) 'options': options!,
  if (type != null) 'type': type!,
};