forceGC method
Implementation
Future<void> forceGC() async {
VmService vmService = await VmserviceToolset().getVMService();
Isolate? isolate = await VmserviceToolset().getMainIsolate();
if (isolate?.id != null) {
await vmService.getAllocationProfile(isolate!.id!, gc: true);
}
}