count<E> static method

int count<E>([
  1. String? event
])

Implementation

static int count<E>([String? event]) {
  return _shared._listeners[event ?? E.toString()]?.length ?? 0;
}