PalletConstantMetadata class

Metadata about one pallet constant.

Constructors

PalletConstantMetadata({required String name, required TypeId type, required List<int> value, required List<String> docs})
const
PalletConstantMetadata.fromJson(Map<String, dynamic> json)
factory

Properties

docs List<String>
Documentation of the constant.
final
hashCode int
The hash code for this object.
no setterinherited
name String
Name of the pallet constant.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type TypeId
Type of the pallet constant.
final
value List<int>
Value stored in the constant (SCALE encoded).
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 $PalletConstantMetadataCodec