connect method
Future<bool?>
connect({
- required String ssid,
- String? bssid,
- String? password,
- bool withInternet = false,
- int timeoutInSeconds = 30,
override
Implementation
@override
Future<bool?> connect({
required String ssid,
String? bssid,
String? password,
bool withInternet = false,
int timeoutInSeconds = 30,
}) async =>
await methodChannel.invokeMethod<bool>('connect', {
'ssid': ssid,
"password": password,
"withInternet": withInternet,
"timeoutInSeconds": timeoutInSeconds
});