WifiInfo.withMap constructor

WifiInfo.withMap(
  1. Map? nativeInfo
)

Implementation

WifiInfo.withMap(Map<dynamic, dynamic>? nativeInfo) {
  if (nativeInfo != null) {
    this._bssid = nativeInfo["BSSID"];
    this._ssid = nativeInfo["SSID"];
    this._ip = nativeInfo["IP"];
    this._macAddress = nativeInfo["MACADDRESS"];
    this._linkSpeed = nativeInfo["LINKSPEED"];
    this._singalStrength = nativeInfo["SIGNALSTRENGTH"];
    this._frequency = nativeInfo["FREQUENCY"];
    this._channel = nativeInfo["CHANNEL"];
    this._networkid = nativeInfo["NETWORKID"];
    this._isHiddenSSID = nativeInfo["ISHIDDENSSID"];
    this._routerIp = nativeInfo["ROUTERIP"];
  }
}