onMessage method
Implementation
void onMessage(void callback(String m)) => _conn.onMessage.listen((e) {
callback(_messageToString(e));
});
void onMessage(void callback(String m)) => _conn.onMessage.listen((e) {
callback(_messageToString(e));
});