MethodChannelFlutterUpiGateway class
An implementation of FlutterUpiGatewayPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- FlutterUpiGatewayPlatform
- MethodChannelFlutterUpiGateway
Constructors
Properties
- eventChannel → EventChannel
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
final
-
paymentStatusStream
→ Stream<
UpiPaymentResult> -
Optional stream of payment status events.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getInstalledUpiApps(
) → Future< List< UpiApp> > -
Retrieves list of installed UPI-capable payment apps.
override
-
isAvailable(
) → Future< bool> -
Checks if UPI payment processing is supported on the current platform/device.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pay(
UpiPaymentRequest request) → Future< UpiPaymentResult> -
Initiates a UPI payment using system app chooser.
override
-
payWithApp(
UpiPaymentRequest request, {required String appId}) → Future< UpiPaymentResult> -
Initiates a UPI payment using a specific app target (
appId/ package name).override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited