debugInjectServerMessage method
Test-only entry point. Forwards a server message into the event stream
without going through a WebSocket. Mirror of what _onMessage would
do on real input.
Implementation
void debugInjectServerMessage(Map<String, Object?> message) {
_dispatch(message);
}