fire method
Fires an event of the specified type. You can optionally provide an data object — the first argument of the listener function will contain its properties. The event can optionally be propagated to event parents.
Implementation
external Evented fire(String type, [dynamic data, bool? propagate]);