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