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