releaseDevice method

void releaseDevice(
  1. String id
)

Releases locally cached stream state for the device with this id (services, connection status, MTU, characteristic data/notify state). Call this once you're done with a device you no longer expect to reconnect to, to bound memory use across long scanning sessions -- state is recreated automatically if the device is seen or connected to again.

Implementation

void releaseDevice(String id) => BlueBreezePlatform.instance.releaseDevice(id);