SpecVersion class

Spec Version holds the metadata of the parachains with Spec Version Record.

Inheritance
Implementers

Constructors

SpecVersion({required String metadata, required String specName, required int specVersion, required int blockNumber, required String blockHash})
const

Properties

blockHash → String
The hash of the block where the given spec version was first introduced.
finalinherited
blockNumber → int
The height of the block where the given spec version was first introduced.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
metadata → String
Chain metadata for this version of spec
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
specName → String
finalinherited
specVersion → int
finalinherited

Methods

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

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) → SpecVersion
override