EpayPlatform class

A platform abstraction layer that communicates with the native platform through MethodChannel. This class delegates the method calls to the EpayPlatformInterface implementation.

Constructors

EpayPlatform()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkInternetConnection() Future<List<INetResult>>
Checks the internet connection status by invoking the appropriate method on the platform interface.
getMethodChannel() MethodChannel
Retrieves the MethodChannel instance from the platform interface.
initiateTransaction({required String paymentUrl, required String referrer}) Future<String?>
Initiates a transaction by passing the payment URL to the native platform.
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