domain/constants/requests library

Functions

initializeMyPayment(BuildContext context, String email, String phone, String amount, String currency, String firstName, String lastName, String transactionReference, String customTitle, String customDescription, String fallBackNamedRoute, String publicKey, dynamic onPaymentFinished(String, String, String)?) Future<String>
Initializes a payment using the Chapa API.
showToast(dynamic jsonResponse) Future<bool?>
Displays a toast notification with the given message.