LevitTaskMetadata class

Stable, low-cardinality metadata attached to task executions.

Constructors

LevitTaskMetadata({String? debugName, String? category, bool blocksUserInteraction = false, bool sensitive = false, Map<String, Object?> attributes = const {}})
Creates task metadata.
const

Properties

attributes Map<String, Object?>
Additional application-defined, low-cardinality attributes.
final
blocksUserInteraction bool
Whether this task may drive blocking user-interface state.
final
category String?
A stable task category used for filtering and aggregate UI.
final
debugName String?
A stable human-readable operation name.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sensitive bool
Whether task diagnostics must be treated as sensitive.
final

Methods

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

Constants

none → const LevitTaskMetadata
Empty task metadata.