ip static method

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

Validate IP address.

Implementation

static String? ip(String? ipAddress, {TextValidateResponse? textResponse}) {
  return _validateInput(ipAddress, RegularExpression.validateIPAddress,
      textResponse, 'IP address');
}