requestConnection method
- ZoopDevice device
Implementation
Future<bool> requestConnection(ZoopDevice device) async {
try {
await _channel.invokeMethod(
'requestConnection', jsonEncode(device.toJson()));
return Future.value(true);
} catch (e) {
print('ERROR requestConnection ${e.toString()}');
throw Exception(e);
}
}