hasStateReaderFor method
An internal utility for checking if a ProviderContainer has a fast path for reading a provider.
This should not be used and is an implementation detail of ProviderContainer. It could be removed at any time without a major version bump.
Implementation
@internal
@visibleForTesting
bool hasStateReaderFor(ProviderListenable<Object?> provider) {
return _stateReaders.containsKey(provider);
}