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