toJson method
Implementation
Map<String, dynamic> toJson() {
final aggregators = this.aggregators;
final expression = this.expression;
final groups = this.groups;
return {
if (aggregators != null) 'Aggregators': aggregators,
if (expression != null) 'Expression': expression,
if (groups != null) 'Groups': groups,
};
}