tryParseExtensionEvent function
Implementation
DevToolsExtensionEvent? tryParseExtensionEvent(Event e) {
if (e.isMessageEvent) {
final messageData = (e as MessageEvent).data.dartify()!;
return DevToolsExtensionEvent.tryParse(messageData);
}
return null;
}