PalletMetadata class
- Implementers
Constructors
-
PalletMetadata({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
final
-
constants
→ List<
PalletConstantMetadata> -
List of constants defined in this pallet
final
- error → PalletErrorMetadata?
-
Optional error metadata
final
- event → PalletEventMetadata?
-
Optional events metadata
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
Unique index of this pallet in the runtime
final
- name → String
-
Name of the pallet
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storage → PalletStorageMetadata?
-
Optional storage metadata for this pallet
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 $PalletMetadata
- Codec instance for PalletMetadata