Function dart_sys::Dart_RootLibrary

source ·
pub unsafe extern "C" fn Dart_RootLibrary() -> Dart_Handle
Expand description

Gets the library for the root script for the current isolate.

If the root script has not yet been set for the current isolate, this function returns Dart_Null(). This function never returns an error handle.

\return Returns the root Library for the current isolate or Dart_Null().