Paysheet class

Convenience singleton that exposes a stable public API: Paysheet.instance.present(...) shows the paysheet directly.

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
present(BuildContext context, {required String method, String? amount, Map<String, dynamic>? merchantArgs, UIAdjust? uiAdjust, bool mountOnShow = false, bool enableStripeJs = false, void onResult(PaymentResult)?, Future<void> onPay()?}) Future<PaymentResult?>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance Paysheet
final