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