Node class

Annotations
  • @freezed

Constructors

Node({bool? authorized, bool? available, double? averageAvailability, String? firstPublicKey, String? geoPatch, String? ip, String? lastPublicKey, String? networkPatch, int? port, String? rewardAddress, int? enrollmentDate, int? authorizationDate})
const
factory
Node.fromJson(Map<String, dynamic> json)
factory

Properties

authorizationDate int?
no setterinherited
authorized bool?
no setterinherited
available bool?
no setterinherited
averageAvailability double?
no setterinherited
copyWith → $NodeCopyWith<Node>
Create a copy of Node with the given fields replaced by the non-null parameter values.
no setterinherited
enrollmentDate int?
no setterinherited
firstPublicKey String?
no setterinherited
geoPatch String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
ip String?
no setterinherited
lastPublicKey String?
no setterinherited
networkPatch String?
no setterinherited
port int?
no setterinherited
rewardAddress String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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