connect method

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