ScannerDiagnostic class final
A discarded-input notice separate from operational errors on the events stream.
Contains no barcode text and does not automatically log input.
Constructors
- ScannerDiagnostic({required ScannerDiagnosticReason reason, required DateTime occurredAt, required int inputLength, String? eventId})
-
Creates a notice, converting
occurredAtto UTC.
Properties
- eventId → String?
-
The observation identity when a complete frame already existed.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inputLength → int
-
The discarded input length measured in UTF-16 code units.
final
- occurredAt → DateTime
-
The observation or discard time in UTC.
final
- reason → ScannerDiagnosticReason
-
The reason the input was discarded.
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited