sendMessageToMiddlewares abstract method
void
sendMessageToMiddlewares({
- required NotificationMessageLevel level,
- String? message,
- Object? throwable,
Call registered middlewares.
Example:
messageHandler.sendMessageToMiddlewares(
level: NotificationMessageLevel.error,
message: "testando middleware",
);
Implementation
void sendMessageToMiddlewares(
{required NotificationMessageLevel level,
String? message,
Object? throwable});