TraceSetLabel class final

GraphicsDevice.setLabel: label given to a resource the trace made.

Inheritance

Constructors

TraceSetLabel({required TraceLabeled resource, required int id, required String label})
Records label given to the resource id of kind resource.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → int
The resource's id among those of its kind.
final
kind → String
The event's name in a trace file.
no setteroverride
label → String
The name given, as a debugger shows it.
final
resource → TraceLabeled
The kind of resource named, which says whose ids id counts among.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson(TraceBlobWriter blob) → Map<String, Object?>
Returns the event as the JSON object a trace file holds, without its kind key, with every byte payload handed to blob and written as the reference it returns.
override
toString() → String
A string representation of this object.
inherited

Operators

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