VMLibrary class
A a Dart library—that is, a single importable Dart file.
- Inheritance
- Object
- VMLibraryRef
- VMLibrary
- Implemented types
Properties
-
classes
→ Map<
String, VMClassRef> -
The classes defined in this library, indexed by name.
final
-
dependencies
→ List<
VMLibraryDependency> -
The imports and exports for this library.
final
-
fields
→ Map<
String, VMFieldRef> -
The fields defined in this library, indexed by name.
final
-
functions
→ Map<
String, VMFunctionRef> -
The top-level functions defined in this library, indexed by name.
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- isDebuggable → bool
-
Whether breakpoints and stepping are enabled for this library.
final
- klass → VMClassRef
-
This object's class, or
null
if this object wasn't allocated on the Dart heap. [...]final - name → String
-
The name of this library, derived from its library tag.
final, inherited
- observatoryUrl → Uri
-
A relative URL for humans to inspect and possibly interact with this
object in the Observatory UI. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
-
scripts
→ List<
VMScriptRef> -
The scripts that make up the library. [...]
final
- size → int
-
The size (in bytes) of this object on the heap. [...]
final
- uri → Uri
-
The canonical URI for this library.
final, inherited
Methods
-
evaluate(
String expression) → Future< VMInstanceRef> -
Evaluates
expression
in the context of this library. [...]inherited -
load(
) → Future< VMLibrary> -
Loads a full version of this object. [...]
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
setDebuggable(
) → Future -
Enables breakpoints and stepping for this library.
inherited
-
setNotDebuggable(
) → Future -
Disables breakpoints and stepping for this library.
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited