SpawnedIsolate class Null safety

The spawned Dart script isolate "process".

Available Extensions

Constructors

SpawnedIsolate(int id, Object spawnEntry, String type, Directory projectDirectory, Isolate isolate, Completer<int> _isolateCompleter, Duration _isolateCheckPingTimeout, String? observatoryURL, {OnSpawnedIsolateStop? onStop, bool stopByKill = false})

Properties

exitCode Future<int>
The Dart script/file exit code.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
id int
The ID (same of DartSpawner.id source).
final
isFinished bool
Returns true if the spawned Dart script/file have finished.
read-only
isolate Isolate
The spawned Isolate.
final
observatoryURL String?
The Dart VM Observatory URL.
final
projectDirectory Directory
The target project Directory.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
spawnEntry Object
The Dart entry used to spawn.
final
stopByKill bool
final
type String
The spawn type.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
stop(int exitCode, {String? reason}) Future<bool>
Stops the process.
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited