StorageEntryMetadataV16 class

Storage entry metadata for V16, including deprecation information.

V16 extends the base StorageEntryMetadata with ItemDeprecationInfo to allow runtime developers to mark storage entries as deprecated while maintaining backward compatibility.

Reference: https://github.com/paritytech/frame-metadata/blob/main/frame-metadata/src/v16.rs#L293-L322

Inheritance

Constructors

StorageEntryMetadataV16({required String name, required StorageEntryModifier modifier, required StorageEntryType type, required List<int> defaultValue, required List<String> docs, required ItemDeprecationInfo deprecationInfo})
const

Properties

defaultValue List<int>
Default value (SCALE encoded)
finalinherited
deprecationInfo ItemDeprecationInfo
Deprecation information for this storage entry.
final
docs List<String>
Documentation for this storage entry
finalinherited
hashCode int
The hash code for this object.
no setterinherited
modifier StorageEntryModifier
Modifier indicating optionality
finalinherited
name String
Name of the storage entry
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type StorageEntryType
Type of the storage entry (Plain, Map, etc.)
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

codec → const $StorageEntryMetadataV16
Codec instance for StorageEntryMetadataV16