IPv4 class

An IPv4 network address.

Constructors

IPv4.fromCidr(String ip, int cidr)
Creates an IPv4 address with the network mask that matches the given CIDR value.
IPv4.fromMask(String ip, String mask)
Creates an IPv4 address with the given network mask.
IPv4.noMask(String ip)
Creates an IPv4 address without a network mask.

Properties

hashCode int
The hash code for this object.
no setterinherited
ip String
This address's IP.
final
mask String
This address's network mask.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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