fromVmServiceEvent static method
- Event event
Implementation
static EventFromApp? fromVmServiceEvent(Event event) {
if (event.extensionKind != memoryLeakTrackingExtensionName) return null;
final data = event.json!['extensionData'] as Map<String, dynamic>;
return EventFromApp.fromJson(data);
}