removeInFlightRequestById method
Implementation
void removeInFlightRequestById(String id) {
RequestState? state = globalState.inFlightRequests[id];
if (state != null) {
try {
state.networkController.close();
} catch (e) {
Logger.log.e(e);
}
globalState.inFlightRequests.remove(id);
}
}