disconnect method

  1. @Deprecated('This method will be removed. Method disconnect is platform-specific and you should use NearbyServiceIOSPlatform.disconnectById or NearbyServiceAndroidPlatform.disconnectById instead.')
Future<bool> disconnect(
  1. NearbyDevice device
)

Implementation

@Deprecated(
  'This method will be removed. Method disconnect is platform-specific and you should use NearbyServiceIOSPlatform.disconnectById or NearbyServiceAndroidPlatform.disconnectById instead.',
)
Future<bool> disconnect(NearbyDevice device) {
  throw UnimplementedError('disconnect() has not been implemented.');
}