debugName property

String? get debugName

Returns the next debugName for an IsolateRunner based on these settings. If a LoadBalancer is used, a number will be appended and incremented

Implementation

String? get debugName {
  if (_debugName == null) return null;
  if (poolSize > 1) {
    return '$_debugName: ${_spawnCount++}';
  } else {
    return '$_debugName';
  }
}
set debugName (String? name)

What to name the isolate that gets created. If using a pool, an integer will be appended to each isolate that's created

Implementation

set debugName(String? name) {
  _debugName = name;
}