workerIsolateForTesting property
Worker isolate, exposed for testing (e.g., to simulate crash).
Implementation
Isolate? get workerIsolateForTesting =>
_workers.isEmpty ? null : _workers.first.isolate;
Worker isolate, exposed for testing (e.g., to simulate crash).
Isolate? get workerIsolateForTesting =>
_workers.isEmpty ? null : _workers.first.isolate;