disconnect method

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

Disconnects from the currently connected Bluetooth peripheral.

Implementation

@override
Future<void> disconnect() async {
  await methodChannel.invokeMethod<void>('disconnect');
}