Protocol constructor

const Protocol(
  1. String name, {
  2. PacketFactory? packetFactory,
  3. int? ipProtocolNumber,
})

Implementation

const Protocol(this.name, {this.packetFactory, this.ipProtocolNumber});