spawnDartFile method
Spawn a Dart File.
Implementation
Future<SpawnedIsolate> spawnDartFile(File dartFile, List<String> args,
{String? debugName,
bool enableObservatory = false,
bool runObservatory = false,
bool usesSpawnedMain = false}) =>
_spawnDart(dartFile, 'File', dartFile.uri, args,
debugName: debugName,
enableObservatory: enableObservatory,
runObservatory: runObservatory,
usesSpawnedMain: usesSpawnedMain);