KernelAssetRelativePath class
Asset at relative path uri, relative to the 'dart file' executed.
The 'dart file' executed can be one of the following:
- The
.dart
file when executingdart path/to/script.dart
. - The
.kernel
file when executing from a kernel file. - The
.aotsnapshot
file when executing from an AOT snapshot with the Dart AOT runtime. - The executable when executing a Dart app compiled with
dart compile exe
to a single file.
Note when writing your own embedder, make sure the Dart_CreateIsolateGroup
or similar calls set up the script_uri
parameter correctly to ensure
relative path resolution works.
- Implemented types
Constructors
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → List< String> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override