getScripts method Null safety

Future<ScriptList> getScripts()

Implementation

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