Health class

Health struct returned by the RPC

Constructors

Health({required int peers, required bool isSyncing, required bool shouldHavePeers})
const
Health.decode(Input input)
factory
Health.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
isSyncing bool
Is the node syncing
final
peers int
Number of connected peers
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shouldHavePeers bool
Should this node have any peers
final

Methods

encode() Uint8List
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.
override

Constants

codec → const $HealthCodec