startScan method

void startScan(
  1. void onNewDeviceFound(
    1. String?,
    2. String?
    )
)

Implementation

void startScan(void Function(String?, String?) onNewDeviceFound) {
  _newScannedDeviceCb = onNewDeviceFound;
  _channel.invokeMethod('startScan', null);
}