init(from:)
PackageCollectionModel+v1.swift:545init(from decoder: Decoder) throws
Other members in extension
Type members
init(collection: PackageCollectionModel.V1.Collection, signature: PackageCollectionModel.V1.Signature
) Creates a
SignedCollection
Instance members
let collection: PackageCollectionModel.V1.Collection
The package collection
let signature: PackageCollectionModel.V1.Signature
The signature and metadata
func encode(to: Encoder
) throws