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