of method

EventBus of (
  1. BuildContext context
)

Try to find EventBus provided by an ancestor EventBusWidget

Implementation

static EventBus of(BuildContext context) =>
    EventBusWidget.of(context).eventBus;