whenOrNull<TResult extends Object?> method
TResult?
whenOrNull<TResult extends Object?>({
- TResult? newBlock(
- int block
- TResult? invoicePaid(
- InvoicePaidDetails details
- TResult? synced()?,
- TResult? paymentSucceed(
- Payment details
- TResult? paymentFailed(
- PaymentFailedData details
- TResult? backupStarted()?,
- TResult? backupSucceeded()?,
- TResult? backupFailed(
- BackupFailedData details
- TResult? reverseSwapUpdated(
- ReverseSwapInfo details
- TResult? swapUpdated(
- SwapInfo details
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(int block)? newBlock,
TResult? Function(InvoicePaidDetails details)? invoicePaid,
TResult? Function()? synced,
TResult? Function(Payment details)? paymentSucceed,
TResult? Function(PaymentFailedData details)? paymentFailed,
TResult? Function()? backupStarted,
TResult? Function()? backupSucceeded,
TResult? Function(BackupFailedData details)? backupFailed,
TResult? Function(ReverseSwapInfo details)? reverseSwapUpdated,
TResult? Function(SwapInfo details)? swapUpdated,
}) =>
throw _privateConstructorUsedError;