Dart SDK
dart:profiler
UserTag
class
UserTag
Constants
Static Properties
Properties
Constructors
Methods
Constants
MAX_USER_TAGS
Static properties
defaultTag
Properties
label
Constructors
UserTag
Methods
makeCurrent
A UserTag can be used to group samples in the Observatory profiler.
Constants
dynamic
MAX_USER_TAGS
=
64
const
The maximum number of UserTag instances that can be created by a program.
Static Properties
UserTag
defaultTag
read-only
The default [UserTag] with label 'Default'.
Properties
String
label
read-only
Label of [this].
Constructors
UserTag
(
String
label
)
Methods
makeCurrent
(
) →
UserTag
Make [this] the current tag for the isolate. Returns the current tag before setting.