FlutterwaveAPIUtils class
Flutterwave Utility class
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
-
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
Static Methods
-
getBanks(
Client client, String publicKey) → Future< List< Bank> > - This method fetches a list of Nigerian banks it returns an instance of GetBanksResponse or throws an error
-
validatePayment(
String otp, String flwRef, Client client, bool isDebugMode, String publicKey, dynamic isBankAccount, [String feature = ""]) → Future< ChargeResponse> - Validates payments with OTP returns an instance of ChargeResponse or throws an error
-
verifyPayment(
String flwRef, Client client, String publicKey, bool isDebugMode, [String feature = ""]) → Future< ChargeResponse> - Verifies payments with Flutterwave reference returns an instance of ChargeResponse or throws an error