allowedPaymentMethods property
Restricts which payment methods the chooser offers.
nullor empty → show the full chooser (default).- One method → skip the chooser and route straight to that method.
- Multiple methods → show the chooser with only those tiles.
Implementation
final List<PaymentMethod>? allowedPaymentMethods;