The byte prefix to use when storing elements inside this collection.
Readonly_keysReadonlyprefixThe byte prefix to use when storing elements inside this collection.
ReadonlyvaluesExtends the current collection with the passed in array of key-value pairs.
The key-value pairs to extend the collection with.
Get the data stored at the provided key.
The key at which to look for the data.
Optionaloptions: Omit<GetOptions<DataType>, "serializer">Options for retrieving the data.
Removes and retrieves the element with the provided key.
The key at which to remove data.
Optionaloptions: Omit<GetOptions<DataType>, "serializer">Options for retrieving the data.
Serialize the collection.
Optionaloptions: Pick<GetOptions<DataType>, "serializer">Options for storing the data.
Store a new value at the provided key.
The key at which to store in the collection.
The value to store in the collection.
Optionaloptions: GetOptions<DataType>Options for retrieving and storing the data.
Optionaloptions: Omit<GetOptions<DataType>, "serializer">Return a JavaScript array of the data stored within the collection.
Optionaloptions: GetOptions<DataType>Options for retrieving and storing the data.
StaticreconstructConverts the deserialized data from storage to a JavaScript instance of the collection.
The deserialized data to create an instance from.
An unordered map that stores data in NEAR storage.