DecodedContent class

One exact reading of a symbol's data — compare contents by identity (symbology, raw, fnc1, compatible eci), never by text.

Constructors

DecodedContent(String text, Uint8List raw, Charset charset, [List<EciSegment>? eci, Fnc1Position? fnc1])
const
DecodedContent.fromJson(Map<String, dynamic> j)
factory

Properties

charset → Charset
final
eci → List<EciSegment>?
null = none observed (key absent); empty = ECI signalled but not located.
final
fnc1 → Fnc1Position?
null = none observed or not reported by the symbology.
final
hashCode → int
The hash code for this object.
no setterinherited
raw → Uint8List
QR family: the original bytes; other symbologies: the bytes of the engine's reading, which under an ECI can omit a segment the engine could not decode (base64-decoded from the wire raw string).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
text → String
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