DERPNode constructor

const DERPNode({
  1. required String name,
  2. required String hostName,
  3. String? ipv4,
  4. String? ipv6,
  5. int derpPort = 0,
  6. int stunPort = 0,
  7. bool canPort80 = false,
})

Implementation

const DERPNode({
  required this.name,
  required this.hostName,
  this.ipv4,
  this.ipv6,
  this.derpPort = 0,
  this.stunPort = 0,
  this.canPort80 = false,
});