getMemoryUsage method

Future<MemoryUsage> getMemoryUsage()

Implementation

Future<vm.MemoryUsage> getMemoryUsage() async {
  vm.VmService virtualMachine = await getVMService();
  return virtualMachine.getMemoryUsage(isolateId!);
}