postEvent method

  1. @protected
void postEvent(
  1. String eventKind,
  2. Map<String, dynamic> eventData
)

All events dispatched by a BindingBase use this method instead of calling developer.postEvent directly so that tests for BindingBase can track which events were dispatched by overriding this method.

This is unrelated to the events managed by lockEvents.

Implementation

@protected
void postEvent(String eventKind, Map<String, dynamic> eventData) {
  developer.postEvent(eventKind, eventData);
}