maybeWhen<TResult extends Object?> method
TResult
maybeWhen<TResult extends Object?>({
- TResult paymentMode(
- String currencyCode,
- int amount,
- IntentFutureUsage? setupFutureUsage,
- CaptureMethod? captureMethod,
- TResult setupMode(
- String? currencyCode,
- IntentFutureUsage setupFutureUsage
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(String currencyCode, int amount,
IntentFutureUsage? setupFutureUsage, CaptureMethod? captureMethod)?
paymentMode,
TResult Function(String? currencyCode, IntentFutureUsage setupFutureUsage)?
setupMode,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;