portRange static method

String? portRange(
  1. String? portRange, {
  2. TextValidateResponse? textResponse,
})

Validate port range.

Implementation

static String? portRange(String? portRange,
    {TextValidateResponse? textResponse}) {
  return _validateInput(portRange, RegularExpression.validatePortRange,
      textResponse, 'Port range');
}