AssetReference.collection constructor
const
AssetReference.collection(})
Create an instance with its type set to AssetType.collection.
Implementation
const AssetReference.collection(
this.name, {
this.encryptionKey,
this.gain = defaultGain,
}) : type = AssetType.collection;