disconnectFromDevice method

  1. @override
Future<bool> disconnectFromDevice(
  1. String deviceId
)
override

Implementation

@override
Future<bool> disconnectFromDevice(String deviceId) async {
  final success = await methodChannel.invokeMethod<bool>('disconnectFromDevice', {'deviceId': deviceId});
  return success ?? false;
}