MSRX class
A Flutter plugin for MSR605X magnetic stripe card reader.
This plugin supports Windows, Android, and Linux platforms.
Properties
-
connectionStatus
→ Stream<
bool> -
Gets a stream of connection status changes.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
connect(
) → Future< bool> - Connects to the MSR605X device.
-
disconnect(
) → Future< void> - Disconnects from the MSR605X device.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readCard(
{int timeout = 3000}) → Future< TrackData> - Reads card data from the MSR605X device.
-
toString(
) → String -
A string representation of this object.
inherited
-
writeCard(
TrackData data) → Future< bool> - Writes data to a magnetic card.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited