maybeOf<T> static method

Bloom<T?> maybeOf<T>(
  1. BuildContext context
)

Retrieves the Bloom<T?> state from the nearest ancestor BloomProvider<T>, if present.

Exact Type Resolution:

  • Lookup matches the exact reified type T. Subtypes or base classes do not match.

Ensures:

Implementation

static Bloom<T?> maybeOf<T>(BuildContext context) =>
    context.maybeBloomOf<T>();