resetFetchState method
Resets the fetch state for a device, canceling any in-progress fetch.
Implementation
@override
void resetFetchState(BluetoothDevice device) {
final deviceId = device.remoteId.str;
_downloadSubscriptions[deviceId]?.cancel();
_downloadSubscriptions.remove(deviceId);
_expectedCrcByDevice.remove(deviceId);
_fetchRegistry.getManager(device).reset();
}