maybeOf method

AsyncDataScopeContext<W, T>? maybeOf(
  1. BuildContext context, {
  2. required bool listen,
})

Tries to find and return the context of the scope.

Implementation

AsyncDataScopeContext<W, T>? maybeOf(
  BuildContext context, {
  required bool listen,
}) =>
    AsyncDataScopeBase.maybeOf<W, T>(context, listen: listen);