AmwalSDKWeb class
A web implementation of the AmwalSDK plugin. This implementation is compatible with both JavaScript and WASM compilation modes.
Constructors
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
-
getPlatformVersion(
) → String - Returns a String containing the version of the platform. WASM-compatible implementation that doesn't rely on dart:html
-
getSDKVersion(
) → String - Get SDK version with WASM support info
-
handleMethodCall(
MethodCall call) → Future - Handles method calls over the MethodChannel of this plugin. Note: Check the "federated" architecture for a new way of doing this: https://flutter.dev/go/federated-plugins
-
initializeSDK(
dynamic arguments) → Future< Map< String, dynamic> > - Initialize the SDK with configuration
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
processPayment(
dynamic arguments) → Future< Map< String, dynamic> > - Process payment with WASM compatibility
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
registerWith(
Registrar registrar) → void