spawnError property

Object? get spawnError

The error that prevented the spawned isolate from starting (for example an IsolateSpawnException or a TimeoutException), or null.

When set, exitCode completes with uncaughtErrorExitCode.

Implementation

Object? get spawnError => _spawnError;