ChainHeadInitialized class
Emitted when the follow subscription is initialized.
Contains the finalized block hash and optionally the runtime spec.
- Inheritance
-
- Object
- ChainHeadEvent
- ChainHeadInitialized
Constructors
-
ChainHeadInitialized({required String finalizedBlockHash, Map<
String, dynamic> ? finalizedBlockRuntime}) -
const
-
ChainHeadInitialized.fromJson(Map<
String, dynamic> json) -
factory
Properties
- finalizedBlockHash → String
-
Hash of the latest finalized block.
final
-
finalizedBlockRuntime
→ Map<
String, dynamic> ? -
Runtime specification, if
withRuntimewas true.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → ChainHeadEventType
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited