isEnabled static method
Returns whether the WiFi is enabled
Implementation
static Future<bool> isEnabled() async {
final Map<String, String> htArguments = Map();
bool? bResult;
try {
bResult = await _channel.invokeMethod('isEnabled', htArguments);
} on MissingPluginException catch (e) {
print("MissingPluginException : ${e.toString()}");
}
return bResult != null && bResult;
}