Dart Documentationchrome.socketNetworkInterface

NetworkInterface class

class NetworkInterface extends ChromeObject {
 NetworkInterface({String name, String address}) {
   if (name != null) this.name = name;
   if (address != null) this.address = address;
 }
 NetworkInterface.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 String get name => jsProxy['name'];
 set name(String value) => jsProxy['name'] = value;

 String get address => jsProxy['address'];
 set address(String value) => jsProxy['address'] = value;
}

Extends

ChromeObject > NetworkInterface

Constructors

new NetworkInterface({String name, String address}) #

Create a new instance of a ChromeObject, which creates and delegates to a JsObject proxy.

docs inherited from ChromeObject
NetworkInterface({String name, String address}) {
 if (name != null) this.name = name;
 if (address != null) this.address = address;
}

new NetworkInterface.fromProxy(JsObject jsProxy) #

Create a new instance of a ChromeObject, which delegates to the given JsObject proxy.

docs inherited from ChromeObject
NetworkInterface.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

Properties

String address #

String get address => jsProxy['address'];
set address(String value) => jsProxy['address'] = value;

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

String name #

String get name => jsProxy['name'];
set name(String value) => jsProxy['name'] = value;

Methods

JsObject toJs() #

inherited from ChromeObject
JsObject toJs() => jsProxy;

String toString() #

inherited from ChromeObject

Returns a string representation of this object.

docs inherited from Object
String toString() => jsProxy.toString();