maybeWhen<TResult extends Object?> method
TResult
maybeWhen<TResult extends Object?>({
- TResult applePay(
- List<
ApplePayCartSummaryItem> summaryItems, - List<
ApplePayShippingMethod> shippingMethods, - List<
ApplePaySheetError> ? errors
- List<
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(
List<ApplePayCartSummaryItem> summaryItems,
List<ApplePayShippingMethod> shippingMethods,
List<ApplePaySheetError>? errors)?
applePay,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;