IPv4 class
Validator of optional IP (version 4) addresses.
Blank field - null value - is a valid input!
If the IP address is required, see ReqIPv4 or Req.
It uses the "Dot-decimal notation", which consists of four octets of the address expressed individually in decimal numbers and separated by periods. Examples of valid input:
- 192.0.2.235
- 172.16.254.1
- 127.0.0.1
- 10.0.0.1
- 0.0.0.0
See also:
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
String? ipv4) → String? -
Valid - returns null - if
ipv4
is either a well-formed IPV4 address or null. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited