maybeOf<T> static method
Retrieves the Bloom<T?> state from the nearest ancestor BloomProvider<T>, if present.
context: The active BuildContext to search upwards from.
Exact Type Resolution:
- Lookup matches the exact reified type
T. Subtypes or base classes do not match.
Ensures:
- Returns the ancestor provider's Bloom<T>, or Bloom.constantNull if no matching ancestor provider exists.
Implementation
static Bloom<T?> maybeOf<T>(BuildContext context) =>
context.maybeBloomOf<T>();