TraceSetLabel class final
GraphicsDevice.setLabel: label given to a resource the trace made.
- Inheritance
-
- Object
- TraceEvent
- TraceSetLabel
Constructors
- TraceSetLabel({required TraceLabeled resource, required int id, required String label})
-
Records
labelgiven to the resourceidof kindresource.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
kindkey, with every byte payload handed tobloband 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