PortRange constructor

const PortRange(
  1. int start,
  2. int end
)

Implementation

const PortRange(this.start, this.end)
  : assert(start > 0 && start <= 65535, 'start out of range'),
    assert(end >= start && end <= 65535, 'end out of range');