disconnectOrCancelConnection method

Future<void> disconnectOrCancelConnection()

Disconnects from this peripheral if it's connected or cancels pending connection.

Implementation

Future<void> disconnectOrCancelConnection() =>
    _manager.disconnectOrCancelPeripheralConnection(identifier);