whenOrNull<TResult extends Object?> method
TResult?
whenOrNull<TResult extends Object?>({
- TResult? immediate()?,
- TResult? deferred()?,
- TResult? recurring()?,
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(String label, String amount, bool? isPending)? immediate,
TResult? Function(String label, String amount, int deferredDate)? deferred,
TResult? Function(
String label,
String amount,
ApplePayIntervalUnit intervalUnit,
int intervalCount,
int? startDate,
int? endDate)?
recurring,
}) =>
throw _privateConstructorUsedError;