init method

Future init()

Starts gathering information about this router. This method does not have to be called if the device was found via Router.find() or Router.findAll()

Implementation

Future init() async {
  _wanExternalService =
      await device!.getService('urn:upnp-org:serviceId:WANIPConn1');
  _wanCommonService =
      await device!.getService('urn:upnp-org:serviceId:WANCommonIFC1');
  _wanEthernetLinkService =
      await device!.getService('urn:upnp-org:serviceId:WANEthLinkC1');
}