disconnect method

Future<void> disconnect()

Disconnects from the peripheral.

The instance is no longer usable after calling this method.

Implementation

Future<void> disconnect() => _BlePlatform.instance.centralManagerDisconnectFromDevice(id);