PeerList constructor

PeerList({
  1. Iterable<Peer>? peer,
})

Implementation

factory PeerList({
  $core.Iterable<Peer>? peer,
}) {
  final $result = create();
  if (peer != null) {
    $result.peer.addAll(peer);
  }
  return $result;
}