spawnDartURI method

Future<SpawnedIsolate> spawnDartURI(
  1. Uri dartUri,
  2. List<String> args, {
  3. String? debugName,
  4. bool enableObservatory = false,
  5. bool runObservatory = false,
  6. bool usesSpawnedMain = false,
})

Spawn a Dart Uri.

Implementation

Future<SpawnedIsolate> spawnDartURI(Uri dartUri, List<String> args,
        {String? debugName,
        bool enableObservatory = false,
        bool runObservatory = false,
        bool usesSpawnedMain = false}) =>
    _spawnDart(dartUri, 'Uri', dartUri, args,
        debugName: debugName,
        enableObservatory: enableObservatory,
        runObservatory: runObservatory,
        usesSpawnedMain: usesSpawnedMain);