maybeOf static method

EffectQuery? maybeOf(
  1. BuildContext context
)

Returns the EffectQuery from the given context.

Implementation

static EffectQuery? maybeOf(BuildContext context) {
  return context.dependOnInheritedWidgetOfExactType<EffectQuery>();
}