addListen method
add listener
Implementation
void addListen({ValueChanged<MyNotification>? listen}) {
closeListen();
if (client != null) {
_stream ??= listenAriaMsg(client: client!).listen((event) {
listen?.call(event);
});
}
}
add listener
void addListen({ValueChanged<MyNotification>? listen}) {
closeListen();
if (client != null) {
_stream ??= listenAriaMsg(client: client!).listen((event) {
listen?.call(event);
});
}
}