exists<T> method

dynamic exists <T>()

Checks if a type of event is already registered.

Implementation

static exists<T>() {
  return Event._registry.containsKey(T);
}