ChainEvent class sealed
One event published by a node's event bus. Switch over the subtypes (BlockFinalized, BlockRejected, TxAdmitted, TxRemoved, UnknownEvent) exhaustively; UnknownEvent keeps a newer engine's event kinds readable.
Constructors
-
ChainEvent.fromJson(Map<
String, Object?> json) -
Decodes one JSON object from the engine's event stream.
factory
Properties
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