onImport property
Before a library is loaded for this run (the entry library's imports and theirs), once per library. Throw to refuse it; the run fails there.
Implementation
final void Function(D4rtExecutionContext context, Uri library)? onImport;
Before a library is loaded for this run (the entry library's imports and theirs), once per library. Throw to refuse it; the run fails there.
final void Function(D4rtExecutionContext context, Uri library)? onImport;