handleMessage method
Implementation
Future handleMessage(
BuildContext context,
SourcedPushMessage source,
) async {
try {
/// Push to stream - this allows non-UI access to the messages
if (!_pushStream.isClosed) {
_pushStream.add(source.message);
}
_handleInternalListeners(source.source, source.message);
// final result = this.handlers.handleNotification(context, pushMessage);
// if (result == null) {
// log.warning("No handler for $pushMessage");
// } else {
// await result;
// }
} catch (e, stack) {
log.severe("Error handling inbound message: $e", e, stack);
}
}