Stream<String> get onAddHeapSnapshotChunk => _client.onEvent .where((event) => event.name == 'HeapProfiler.addHeapSnapshotChunk') .map((event) => event.parameters['chunk'] as String);