ThawaniPay class
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
payApi({required BuildContext context, required String api, required String publishKey, required String clintID, required String customerID, required List<Product> products, String? successUrl, String? cancelUrl, required Map<String, dynamic> metadata, required bool testMode, required void onCreate(Create create), required void onCancelled(Map<String, dynamic> payStatus), required void onPaid(Map<String, dynamic> payStatus), required dynamic onError(Map error)?})
→ Future<void>
-
Initiates the payment process via Thawani API.
-
toString()
→ String
-
A string representation of this object.
inherited