onMessage method
void
onMessage(
- dynamic message
Implementation
void onMessage(dynamic message) {
try {
log('OverlayWindowView ~ message: $message');
var overlayMessage = OverlayMessage.fromJson(message);
_messageStreamController.add(overlayMessage);
} catch (e) {
log('onMessage error: $e');
}
}