PalletAssociatedTypeMetadata class
Metadata about a pallet's associated type (V16)
Associated types from Config traits exposed in the metadata. This is new in V16 and allows tooling to understand the concrete types used for pallet configuration.
Reference: https://github.com/paritytech/frame-metadata/blob/main/frame-metadata/src/v16.rs#L383-L398
Constructors
-
PalletAssociatedTypeMetadata({required String name, required int type, List<
String> docs = const []}) -
const
Properties
-
docs
→ List<
String> -
Documentation for this associated type
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Name of the associated type
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → int
-
Type ID of the associated type
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 $PalletAssociatedTypeMetadata
- Codec instance for PalletAssociatedTypeMetadata