UserTag class - dart:developer library (original) (raw)

A UserTag can be used to group samples in theDevTools CPU profiler.

Constructors

UserTag.new(String label)

factory

Properties

hashCodeint

The hash code for this object.

no setterinherited

labelString

Label of this UserTag.

no setter

runtimeTypeType

A representation of the runtime type of the object.

no setterinherited

Methods

makeCurrent()→ UserTag

Make this UserTag the current tag for the isolate. Returns the current tag before setting.

noSuchMethod(Invocation invocation)→ dynamic

Invoked when a nonexistent method or property is accessed.

inherited

toString()→ String

A string representation of this object.

inherited

Operators

operator ==(Object other)→ bool

The equality operator.

inherited

Static Properties

defaultTagUserTag

The default UserTag with label 'Default'.

no setter

Constants

maxUserTags → const int

The maximum number of UserTag instances that can be created by a program.