isKeyInFlight<T extends Object> method

bool isKeyInFlight<T extends Object>(
  1. String key
)
inherited

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);
}