StorageEntryMetadata class

Metadata about a single storage entry in Metadata

Storage entries represent persistent data stored on-chain.

Constructors

StorageEntryMetadata({required String name, required StorageEntryModifier modifier, required StorageEntryType type, required List<int> defaultValue, List<String> docs = const []})
const

Properties

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

Methods

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

Operators

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

Constants

codec → const $StorageEntryMetadata
Codec instance for StorageEntryMetadata