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

defaultTag UserTag
read-only

The default UserTag with label 'Default'.

Properties

label String
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.