connect method

Future<bool> connect(
  1. String deviceId
)

Implementation

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