connectToDevice method

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

Implementation

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