copyWith method
Node
copyWith(
{ - Seed? seed,
- int? connections,
- int? lastblock,
- int? pendings,
- int? delta,
- String? branch,
- String? version,
- String? lastblockhash,
- String? sumaryhash,
- int? utcTime,
})
Implementation
Node copyWith({
Seed? seed,
int? connections,
int? lastblock,
int? pendings,
int? delta,
String? branch,
String? version,
String? lastblockhash,
String? headershash,
String? sumaryhash,
int? utcTime,
}) {
return Node(
seed: seed ?? this.seed,
connections: connections ?? this.connections,
lastblock: lastblock ?? this.lastblock,
pendings: pendings ?? this.pendings,
delta: delta ?? this.delta,
branch: branch ?? this.branch,
version: version ?? this.version,
lastblockhash: lastblockhash ?? this.lastblockhash,
headershash: headershash ?? this.headershash,
sumaryhash: sumaryhash ?? this.sumaryhash,
utcTime: utcTime ?? this.utcTime,
);
}