NeighborInfo constructor
NeighborInfo({})
Implementation
factory NeighborInfo({
$core.int? nodeId,
$core.int? lastSentById,
$core.int? nodeBroadcastIntervalSecs,
$core.Iterable<Neighbor>? neighbors,
}) {
final result = create();
if (nodeId != null) result.nodeId = nodeId;
if (lastSentById != null) result.lastSentById = lastSentById;
if (nodeBroadcastIntervalSecs != null)
result.nodeBroadcastIntervalSecs = nodeBroadcastIntervalSecs;
if (neighbors != null) result.neighbors.addAll(neighbors);
return result;
}