dispatchEvent static method
Called by the extension public API to dispatch an event for other extensions or the internal SDK to consume. Any events dispatched by this call will not be processed until after start
has been called.
Implementation
static Future<bool> dispatchEvent(ACPExtensionEvent event) => _channel
.invokeMethod<bool>('dispatchEvent', event.data)
.then((value) => value!);