addListenerOnce static method

MapsEventListener addListenerOnce(
  1. Object? instance,
  2. String? eventName,
  3. Function? handler
)

Implementation

static MapsEventListener addListenerOnce(
        Object? instance, String? eventName, Function? handler) =>
    callMethod(_Event$namespace, 'addListenerOnce', [
      instance,
      eventName,
      handler == null ? null : allowInterop(handler)
    ]);