DartSpawner constructor

DartSpawner({
  1. Directory? directory,
  2. DartProjectLogger? logger,
  3. bool logToConsole = false,
  4. Duration? startupTimeout,
})

Constructs a new DartSpawner.

  • directory the target project directory.type
  • startupTimeout the timeout to identify the Isolate startup.

Implementation

DartSpawner(
    {Directory? directory,
    DartProjectLogger? logger,
    bool logToConsole = false,
    Duration? startupTimeout})
    : startupTimeout = defaultStartupTimeout,
      isolateCheckPingTimeout = defaultIsolateCheckPingTimeout,
      super(
          directory: directory, logger: logger, logToConsole: logToConsole) {
  logDebug(this);
}