Listener.Default constructor
- String eventName,
- Object context,
- EventCallback callback
Constructor for Listener.
This will take four arguments.
eventName
, callback
are mandatory.
context
is optional.
Implementation
Listener.Default(this.eventName, this.context, this.callback);