MyEventOnce_c constructor

MyEventOnce_c({
  1. required void onListen()?,
})

只会执行一次onListen

Implementation

MyEventOnce_c({
  required this.onListen,
});