core.Map<core.String, core.dynamic> toJson() => { if (aggregation != null) 'aggregation': aggregation!, if (name != null) 'name': name!, if (order != null) 'order': order!, };