NetworkInterface class abstract interface

A NetworkInterface represents an active network interface on the current system. It contains a list of InternetAddresses that are bound to the interface.

Properties

addresses List<InternetAddress>
The list of InternetAddresses currently bound to this NetworkInterface.
no setter
hashCode int
The hash code for this object.
no setterinherited
index int
The index of the NetworkInterface.
no setter
name String
The name of the NetworkInterface.
no setter
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 Properties

listSupported bool
Whether the list method is supported.
no setter

Static Methods

list({bool includeLoopback = false, bool includeLinkLocal = false, InternetAddressType type = InternetAddressType.any}) Future<List<NetworkInterface>>
Query the system for NetworkInterfaces.