getStack method Null safety

Future<Stack> getStack()

Implementation

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