SyncStatus class

SyncStatus is used to provide additional context about an implementation's sync status. It is often used to indicate that an implementation is healthy when it cannot be queried until some sync phase occurs. If an implementation is immediately queryable, this model is often not populated.

Constructors

SyncStatus(int current_index, int? target_index, String? stage)
SyncStatus.fromMap(Map<String, dynamic> map)
factory

Properties

current_index int
CurrentIndex is the index of the last synced block in the current stage.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stage String?
Stage is the phase of the sync process.
getter/setter pair
target_index int?
TargetIndex is the index of the block that the implementation is attempting to sync to in the current stage.
getter/setter pair

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