NetUtil class
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
-
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
Static Methods
-
getLocalHost(
) → InternetAddress - 任意ip4地址
-
lookup(
[String? host, InternetAddressType type = InternetAddressType.IPv4]) → FutureOr< List< InternetAddress> > - 查找主机地址
-
loopbackIPv4(
) → InternetAddress - 环回地址
-
networkInterface(
) → FutureOr< List< int> ?> - networkInterface