getConnectedDeviceStream method

  1. @override
  2. @Deprecated('Use getConnectedDeviceStreamById instead')
Stream<NearbyDevice?> getConnectedDeviceStream(
  1. NearbyDevice device
)
override

Implementation

@override
@Deprecated('Use getConnectedDeviceStreamById instead')
Stream<NearbyDevice?> getConnectedDeviceStream(NearbyDevice device) {
  return getConnectedDeviceStreamById(device.info.id);
}