PdfViewerDiagnostic class
Safe diagnostic metadata without native objects or local file URLs.
Constructors
- PdfViewerDiagnostic({required PdfViewerEngine engine, String? bundle, String source = 'selected', int attempt = 0, String? capabilities, String? probeSupported, String? failure, String? canvasHwa})
-
Metadata for the engine that actually rendered, which can differ from the requested engine.
const
Properties
- attempt → int
-
Zero-based attempt count for this resolution.
final
- bundle → String?
-
PDF.js bundle tier, when this event comes from PDF.js.
final
- canvasHwa → String?
-
Whether hardware-accelerated canvas was enabled.
final
- capabilities → String?
-
WebView capability signature, when a probe ran.
final
- engine → PdfViewerEngine
-
Engine that produced this event.
final
- failure → String?
-
Fixed failure code, when resolution or rendering failed.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- probeSupported → String?
-
Whether the capability probe succeeded.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String
-
Why this engine was selected, such as
selectedorembedpdf-fallback.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toAnalyticsParameters(
) → Map< String, Object> - Parameter map safe to forward to product analytics.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited