discontinuedPackage flutter_bkash_plus has been discontinued.

FlutterBkash class

Constructors

FlutterBkash({BkashCredentials? bkashCredentials, bool logResponse = false})

Properties

hashCode → int
The hash code for this object.
no setterinherited
logResponse → bool
For printing Bkash responses
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

createAgreement({required BuildContext context, String payerReference = " "}) → Future<BkashAgreementResponse>
Call this function to Create an AgreementId
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pay({required BuildContext context, required double amount, required String merchantInvoiceNumber, String payerReference = " "}) → Future<BkashPaymentResponse>
Call this function for Create-Payment (Mentioned in Bkash Doc)
payWithAgreement({required BuildContext context, required double amount, required String agreementId, required String marchentInvoiceNumber}) → Future<BkashPaymentResponse>
Call this Fucntion to Pay with AgreementId
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited