connect method

  1. @override
Future<bool?> connect({
  1. required String ssid,
  2. required EnterpriseCertificateEnum enterpriseCertificate,
  3. String? bssid,
  4. String? password,
  5. bool withInternet = false,
  6. 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
    });