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