connect method
Enable session and try to connect to provider. (triggers QR Code modal)
await wc.connect();
print(wc.connected); // true
Implementation
Future<void> connect() => promiseToFuture(callMethod(impl, 'enable', []));
Enable session and try to connect to provider. (triggers QR Code modal)
await wc.connect();
print(wc.connected); // true
Future<void> connect() => promiseToFuture(callMethod(impl, 'enable', []));