registerHandler method
Binds a handler to actionId without changing the definition.
Implementation
void registerHandler(String actionId, NotificationActionCallback handler) {
_validateId(actionId);
_handlers[actionId] = handler;
}
Binds a handler to actionId without changing the definition.
void registerHandler(String actionId, NotificationActionCallback handler) {
_validateId(actionId);
_handlers[actionId] = handler;
}