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