W3cubDocs

/Dart 2

UserTag class

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

Constructors

UserTag(String label)
factory

Properties

labelString
read-only
Label of this.
hashCodeint
read-only, inherited
The hash code for this object. [...]
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
Returns a string representation of this object.

Operators

operator ==(dynamic 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.5.0/dart-developer/UserTag-class.html