getNetworktype static method

Future<String?> getNetworktype()

ios独有 获取当前上网卡网络类型,比如WiFi,4G @return 结果

Implementation

static Future<String?> getNetworktype() async {
  return await _channel.invokeMethod('getNetworktype');
}