dispose method

Future<void> dispose()

Dispose all resources

Implementation

Future<void> dispose() async {
  await stopScan();
  await _bleAvailabilitySubscription?.cancel();
  await _devicesStream.close();
}