SpecVersionRecord class

Spec Version Record holds the block and other info of the parachains.

Implementers

Constructors

SpecVersionRecord({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.
final
blockNumber → int
The height of the block where the given spec version was first introduced.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
specName → String
final
specVersion → int
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

Static Methods

fromJson(Map<String, dynamic> json) → SpecVersionRecord