SyncState class

The state of the syncing of the node.

Constructors

SyncState({required int startingBlock, required int currentBlock, required int highestBlock})
const
SyncState.fromJson(Map<String, dynamic> json)
factory

Properties

currentBlock int
Height of the current best block of the node.
final
hashCode int
The hash code for this object.
no setteroverride
highestBlock int
Height of the highest block in the network.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startingBlock int
Height of the block at which syncing started.
final

Methods

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

Operators

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