PalletMetadataV15 class

Metadata about a single pallet (module) in MetadataV15

V15 adds documentation field to pallet metadata.

Inheritance

Constructors

PalletMetadataV15({required String name, PalletStorageMetadata? storage, PalletCallMetadata? calls, PalletEventMetadata? event, required List<PalletConstantMetadata> constants, PalletErrorMetadata? error, required int index, List<String> docs = const <String>[]})
const

Properties

calls → PalletCallMetadata?
Optional calls (dispatchable functions) metadata
finalinherited
constants → List<PalletConstantMetadata>
List of constants defined in this pallet
finalinherited
docs → List<String>
Documentation for this pallet (new in V15)
final
error → PalletErrorMetadata?
Optional error metadata
finalinherited
event → PalletEventMetadata?
Optional events metadata
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
index → int
Unique index of this pallet in the runtime
finalinherited
name → String
Name of the pallet
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
storage → PalletStorageMetadata?
Optional storage metadata for this pallet
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 $PalletMetadataV15
Codec instance for PalletMetadataV15