ReqIPv4 class

Convenience validator for required IPv4 addresses.

It is the composition between Req and IPv4.

Constructors

ReqIPv4({String? blank, String? mal})
Non-blank and well-formed IPv4 values.

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 a non-blank, well-formed IPv4; otherwise, returns the blank error message if ipv4 is null, or the malformed error message if ipv4 is malformed.
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