getLibraries method Null safety

Future<List<LibraryRef>?> getLibraries()

Implementation

Future<List<vm.LibraryRef>?> getLibraries() async {
  vm.Isolate isolate = await getIsolate();
  return isolate.libraries;
}