startScan method

Future<bool> startScan()

Request a Wi-Fi scan.

Return value indicates if the "scan" trigger successed.

Should call canStartScan as a check before calling this method.

Implementation

Future<bool> startScan() async {
  final isSucess = await _channel.invokeMethod<bool>("startScan");
  return isSucess!;
}