TokenizedData class

Contains the structured (tokenized) data parsed from a barcode scan.

When a scanner reads a structured symbology such as a UDI barcode, the raw data is parsed into a list of Token objects, each representing a named field within the barcode.

See: https://techdocs.zebra.com/emdk-for-android/13-0/api/reference/com/symbol/emdk/barcode/tokenizeddata

Constructors

TokenizedData({List<Token>? tokens})
const
TokenizedData.fromMap(Map<String, dynamic> map)
Creates a TokenizedData from a Map received via the platform channel.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tokens List<Token>?
All tokens extracted from the decoded barcode data.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Converts this TokenizedData to a Map suitable for sending over the platform channel.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited