onWebSocketRequest method
void
onWebSocketRequest(
- dynamic message
Implementation
void onWebSocketRequest(message) {
if (message is String) {
Map<String, dynamic>? data = _parseMessage(message);
if (onFrontendMessage != null) {
onFrontendMessage!(data);
}
}
}