NetworkInterface class
Describes a gateway's network interface.
Constructors
- NetworkInterface.new({String? ipv4Address, String? ipv6Address, String? macAddress})
-
NetworkInterface.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- ipv4Address → String?
-
The Internet Protocol version 4 (IPv4) address of the interface.
final
- ipv6Address → String?
-
The Internet Protocol version 6 (IPv6) address of the interface.
Currently not supported.
final
- macAddress → String?
-
The Media Access Control (MAC) address of the interface.
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