UserTag class

A UserTag can be used to group samples in the Observatory profiler.

Constructors

UserTag(String label)
factory

Properties

hashCodeint
read-only, inherited
The hash code for this object. [...]
labelString
read-only
Label of this.
runtimeTypeType
read-only, inherited
A representation of the runtime type of the object.

Methods

makeCurrent() → UserTag
Make this the current tag for the isolate. Returns the current tag before setting.
noSuchMethod(Invocation invocation) → dynamic
inherited
Invoked when a non-existent method or property is accessed. [...]
toString() → String
inherited
A string representation of this object. [...]

Operators

operator ==(Object other) → bool
inherited
The equality operator. [...]

Static Properties

defaultTagUserTag
read-only
The default UserTag with label 'Default'.

Constants

MAX_USER_TAGS → const int
The maximum number of UserTag instances that can be created by a program.
64

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