decode static method
Implementation
static NetworkResult decode(Object message) {
final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
return NetworkResult()
..wifi = pigeonMap['wifi'] as String?
..wifi_tether = pigeonMap['wifi_tether'] as String?
..wifiboth = pigeonMap['wifiboth'] as String?
..privates = pigeonMap['privates'] as String?
..cellular = pigeonMap['cellular'] as String?
..Usb = pigeonMap['Usb'] as String?
..Bluethooth = pigeonMap['Bluethooth'] as String?
..WifiName = pigeonMap['WifiName'] as String?
..all_interface = pigeonMap['all_interface'] as String?
..IsWifiConnected = pigeonMap['IsWifiConnected'] as bool?
..IsHotspotEnabled = pigeonMap['IsHotspotEnabled'] as bool?
..IsWifiEnabled = pigeonMap['IsWifiEnabled'] as bool?
..IsLocationEnabled = pigeonMap['IsLocationEnabled'] as bool?;
}