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