isTopLevel static method

bool isTopLevel(
  1. String event
)

Whether event is dispatched to the whole form.

Implementation

static bool isTopLevel(String event) => _topLevel.contains(event);