UpdateProblemReport class
Locally generated, user-copyable update problem report.
Constructors
-
UpdateProblemReport({required DateTime generatedAt, required String packageVersion, required String platform, required String channel, required List<
UpdateDiagnosticEntry> entries, String? appVersion, String? updateVersion, String? stagingPath, Object? failure, int omittedEntryCount = 0}) - Creates a bounded problem report.
Properties
- appVersion → String?
-
Installed app version, when known.
final
- channel → String
-
Update channel associated with the flow.
final
-
entries
→ List<
UpdateDiagnosticEntry> -
Bounded, ordered diagnostics entries.
final
- failure → Object?
-
Failure that caused the report, when known.
final
- generatedAt → DateTime
-
Report generation time.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- omittedEntryCount → int
-
Number of older entries omitted while bounding the report.
final
- packageVersion → String
-
Version of the
desktop_updaterpackage that generated the report.final - platform → String
-
Runtime platform associated with the update flow.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stagingPath → String?
-
Staged update path, when known.
final
- updateVersion → String?
-
Selected update version, when known.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toPlainText(
) → String - Builds redacted text suitable for clipboard copy or app-owned export.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- maxEntries → const int
- Maximum diagnostics entries retained in a report.