eventSend function

void eventSend(
  1. String key, {
  2. dynamic data,
})

发送事件

Implementation

void eventSend(String key, {data}) {
  EventBus.getDefault().post(key, data ?? "");
}