disconnect method
Implementation
@override
Future<String?> disconnect() async {
try {
final out = await methodChannel.invokeMethod('disconnect', {});
debugPrint("Device disconnected");
return out;
} on PlatformException catch (e) {
debugPrint("Failed: ${e.message}");
return "Error";
}
}