debugName property

String? debugName
@Since("2.3")

The name of the Isolate displayed for debug purposes.

This can be set using the debugName parameter in spawn and spawnUri.

This name does not uniquely identify an isolate. Multiple isolates in the same process may have the same debugName.

For a given isolate, this value will be the same as the values returned by Dart_DebugName in the C embedding API and the debugName property in IsolateMirror.

Implementation

@Since("2.3")
external String? get debugName;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-isolate/Isolate/debugName.html