MethodChannelEpay class
An implementation of EpayPlatform that uses method channels to communicate with the native platform.
- Inheritance
-
- Object
- PlatformInterface
- EpayPlatformInterface
- MethodChannelEpay
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
This is primarily for communication with the native code on both Android and iOS platforms.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkInternetConnection(
) → Future< List< INetResult> > -
Checks the internet connection by invoking a method on the native platform.
override
-
getMethodChannel(
) → MethodChannel -
Retrieves the MethodChannel instance used to communicate with the native platform.
override
-
initiateTransaction(
String paymentUrl, String referrer) → Future< String?> -
Initiates a transaction by invoking a method on the native platform.
override
-
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