isKeyInFlight<T extends Object> method
Checks if a request is in-flight
key - The key to check
Returns true if the request is in-flight
Implementation
bool isKeyInFlight<T extends Object>(String key) {
return _inFlightSets.containsKey(T) && _inFlightSets[T]!.containsKey(key);
}