DevToolsExtensionEvent.parse constructor
Implementation
factory DevToolsExtensionEvent.parse(Map<String, Object?> json) {
final eventType =
DevToolsExtensionEventType.from(json[_typeKey]! as String);
final data = (json[_dataKey] as Map?)?.cast<String, Object?>();
final source = json[sourceKey] as String?;
return DevToolsExtensionEvent(eventType, data: data, source: source);
}