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