UpdateDiagnosticEntry class
A single structured diagnostics entry for the update lifecycle.
Constructors
- UpdateDiagnosticEntry({required DateTime timestamp, required UpdateDiagnosticStage stage, required UpdateDiagnosticLevel level, required String message, Object? error})
-
Creates a diagnostics entry.
const
Properties
- error → Object?
-
Optional error captured with the entry.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- level → UpdateDiagnosticLevel
-
Entry severity.
final
- message → String
-
Human-readable message.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stage → UpdateDiagnosticStage
-
Lifecycle stage associated with this entry.
final
- timestamp → DateTime
-
Entry timestamp.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toRedactedLogLine(
) → String - Formats this entry as one redacted line for app-owned log sinks.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited