MethodChannelMobilePos class
An implementation of MobilePosPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- MobilePosPlatform
- MethodChannelMobilePos
Constructors
Properties
- channelStreamController ↔ StreamController?
-
getter/setter pairinherited
- config ↔ BankBoxConfig?
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancelOnPinEntry(
) → Future< void> -
override
-
chargeCard(
BuildContext context, {required String amount, required String accountType, required ConnectivityType connectivityType}) → Future< String?> -
override
-
closeRavenPay(
BuildContext context) → Future< void> -
override
-
connectBluetooth(
BluetoothModel model) → Future< void> -
override
-
disconnectBluetoothDevice(
) → Future< void> -
override
-
disconnectDevice(
) → Future< void> -
override
-
getPlatformVersion(
) → Future< String?> -
override
-
initLocationStatus(
) → Future -
override
-
initMethodChannel(
) → void -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onPinRequest(
String pin) → Future< void> -
override
-
scanForMPosDevice(
) → Future< void> -
override
-
setConfig(
BankBoxConfig config) → void -
override
-
startRavenPay(
BuildContext context, {double? amount, BankBoxLaunchPoint launchPoint = BankBoxLaunchPoint.home}) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- bluetoothConnected ↔ ValueNotifier
-
The method channel used to interact with the native platform.
getter/setter pair
- paymentAmount ↔ double?
-
getter/setter pair