hasListeners static method

bool? hasListeners(
  1. Object? instance,
  2. String? eventName
)

Implementation

static bool? hasListeners(Object? instance, String? eventName) =>
    callMethod(_Event$namespace, 'hasListeners', [instance, eventName]);