startRecording method
Start recording — call this before interacting with a screen
Implementation
Future<void> startRecording() async {
await vmService.clearVMTimeline();
await vmService.setVMTimelineFlags(['Dart', 'Embedder', 'GC']);
print(' ⏱️ Performance recording started...');
}