setListener static method Null safety
Set listener for all action we need to listen of notification.
Implementation
static setListener(String event, Function callback) {
_listenersMap.addAll({event: callback});
}
Set listener for all action we need to listen of notification.
static setListener(String event, Function callback) {
_listenersMap.addAll({event: callback});
}