PalletMetadataV14 class
Metadata about a single pallet (module)
A pallet is a logical unit of functionality in a Substrate runtime. Examples include System, Balances, Timestamp, Staking, etc.
- Inheritance
-
- Object
- PalletMetadata
- PalletMetadataV14
Constructors
-
PalletMetadataV14({required String name, PalletStorageMetadata? storage, PalletCallMetadata? calls, PalletEventMetadata? event, required List<
PalletConstantMetadata> constants, PalletErrorMetadata? error, required int index}) -
const
Properties
- calls → PalletCallMetadata?
-
Optional calls (dispatchable functions) metadata
finalinherited
-
constants
→ List<
PalletConstantMetadata> -
List of constants defined in this pallet
finalinherited
- 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> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- codec → const $PalletMetadataV14
- Codec instance for PalletMetadataV14