ProtoHandshake constructor
ProtoHandshake({})
Implementation
factory ProtoHandshake({
$core.int? networkId,
$fixnum.Int64? height,
$core.List<$core.int>? genesis,
$fixnum.Int64? timestamp,
$core.String? appVersion,
$core.int? peers,
$core.List<$core.int>? oldGenesis,
}) {
final _result = create();
if (networkId != null) {
_result.networkId = networkId;
}
if (height != null) {
_result.height = height;
}
if (genesis != null) {
_result.genesis = genesis;
}
if (timestamp != null) {
_result.timestamp = timestamp;
}
if (appVersion != null) {
_result.appVersion = appVersion;
}
if (peers != null) {
_result.peers = peers;
}
if (oldGenesis != null) {
_result.oldGenesis = oldGenesis;
}
return _result;
}