getNetworkInterfaces method
Retrieves information about local adapters on this system. |callback| : Called when local adapter information is available.
Implementation
Future<List<NetworkInterface>> getNetworkInterfaces() async {
var $res = await promiseToFuture<JSArray>(
$js.chrome.system.network.getNetworkInterfaces());
return $res.toDart
.cast<$js.NetworkInterface>()
.map((e) => NetworkInterface.fromJS(e))
.toList();
}