ReqIPv4 constructor

ReqIPv4({
  1. String? blank,
  2. String? mal,
})

Non-blank and well-formed IPv4 values.

blank the error message in case of an IPv4 address left blank; if omitted, the default message will be 'required IP'. mal the error message in case of a malformed IP address; if omitted, the default message will be 'malformed IP address'.

Implementation

ReqIPv4({String? blank, String? mal})
    : this._set(IPv4(mal: mal), blank: blank);