IPv6 class

Validator of optional IP (version 6) addresses.

Blank field - null value - is a valid input!

If the IP address is required, see ReqIPv6 or Req.

IPv6 addresses are represented as eight groups of four hexadecimal digits each, separated by colons. The full representation may be shortened; for example, 2001:0db8:0000:0000:0000:8a2e:0370:7334 becomes 2001:db8::8a2e:370:7334

See also:

Constructors

IPv6({String? mal})
Validates IPv6 addresses using a regular expression that is suitable for manually entered IP's. Examples:

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? ipv6) String?
Valid - returns null - if ipv6 is either a well-formed IPV6 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