PalletMetadata class

All metadata about an runtime pallet.

Implementers

Constructors

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

Properties

calls PalletCallMetadata?
Pallet calls metadata.
final
constants List<PalletConstantMetadata>
Pallet constants metadata.
final
docs List<String>
Pallet docs
final
error PalletErrorMetadata?
Pallet constants metadata.
final
event PalletEventMetadata?
Pallet event metadata.
final
hashCode int
The hash code for this object.
no setterinherited
index int
Define the index of the pallet, this index will be used for the encoding of pallet event, call and origin variants.
final
name String
Pallet name.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storage PalletStorageMetadata?
Pallet storage metadata.
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 $PalletMetadataCodec