ReaderVendor enum
Vendor of a card-reader device.
The unified contract is intentionally provider-neutral: the SDK does not assume MagTek-only hardware. Adding a new vendor is non-breaking (append a value); renaming an existing wire identifier is breaking.
Values
- magtek → const ReaderVendor
-
const ReaderVendor('magtek') - idTech → const ReaderVendor
-
const ReaderVendor('idtech') - ingenico → const ReaderVendor
-
const ReaderVendor('ingenico') - bbpos → const ReaderVendor
-
const ReaderVendor('bbpos') - unknown → const ReaderVendor
-
Vendor not recognised by the SDK build that received this device. Surface as-is to the POS; the POS may then decide whether to attempt a generic flow.
const ReaderVendor('unknown')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wire → String
-
Stable wire identifier used on the platform channel.
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
Static Methods
-
fromWire(
String? value) → ReaderVendor
Constants
-
values
→ const List<
ReaderVendor> - A constant List of the values in this enum, in order of their declaration.