NodeStats class

Constructors

NodeStats.new({required int blockMinedCount, required int blockProposedCount, required int commitsCount, required int commitsProposedCount, required int drEligibilityCount, required String lastBlockProposed, required int slashedCount})
NodeStats.fromJson(String str)
factory
NodeStats.fromMap(Map<String, dynamic> json)
factory

Properties

blockMinedCount int
final
blockProposedCount int
final
commitsCount int
final
commitsProposedCount int
final
drEligibilityCount int
final
hashCode int
The hash code for this object.
no setterinherited
lastBlockProposed String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slashedCount int
final

Methods

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

Operators

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