IdentifySnapshot constructor

IdentifySnapshot({
  1. required int seq,
  2. required List<ProtocolID> protocols,
  3. required List<MultiAddr> addrs,
  4. dynamic record,
})

Creates a new identify snapshot

Implementation

IdentifySnapshot({
  required int seq,
  required this.protocols,
  required this.addrs,
  this.record,
}) : _seq = seq;