AskValidatorIPAddress constructor Null safety

const AskValidatorIPAddress(
  1. {int version = either}
)

Validates that input is a IP address By default both v4 and v6 addresses are valid Pass a version to limit the input to one or the other. If passed version must be 4 or 6.

Implementation

const AskValidatorIPAddress({this.version = either});