connect abstract method
Connects to passed device
using a platform-specific service.
Note that the NearbyIOSService implementation invites or accepts invite depending on the NearbyIOSService.isBrowser.
Note that if Platform.isIOS == true, NearbyIOSDevice should be passed. If Platform.isAndroid == true, NearbyAndroidDevice should be passed.
On Android can throw mapped from native platform exceptions:
Implementation
Future<bool> connect(NearbyDevice device);