RuntimeMetadata class abstract

The metadata of a runtime.

Implementers

Constructors

RuntimeMetadata({required List<PortableType> types, required List<PalletMetadata> pallets, required ExtrinsicMetadata extrinsic, required TypeId runtimeTypeId, required List<ApiMetadata> apis, required OuterEnumMetadata outerEnums, required CustomMetadata custom})

Properties

apis List<ApiMetadata>
Metadata of the apis.
final
custom CustomMetadata
custom.
final
extrinsic ExtrinsicMetadata
Metadata of the extrinsic.
final
hashCode int
The hash code for this object.
no setterinherited
outerEnums OuterEnumMetadata
Metadata of the outer enums.
final
pallets List<PalletMetadata>
Metadata of all the pallets.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
runtimeTypeId TypeId
The type of the Runtime.
final
types List<PortableType>
Type registry containing all types used in the metadata.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
runtimeMetadataVersion() int
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited
typeById(int id) PortableType

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

codec → const $RuntimeMetadataCodec