scan method

  1. @override
Future<void> scan()
override

Implementation

@override
Future<void> scan() async {
  await client.adapters.first.setDiscoveryFilter(uuids: serviceIds);
  await client.adapters.first.startDiscovery();
  _isScanInProgress = true;
  notifyState(state);
}