getVM method Null safety

Future<VM> getVM()

Implementation

Future<vm.VM> getVM() async {
  vm.VmService virtualMachine = await getVMService();
  return virtualMachine.getVM();
}