mapOrNull<TResult extends Object?> method
TResult?
mapOrNull<TResult extends Object?>({
- TResult? newBlock(
- BreezEvent_NewBlock value
- TResult? invoicePaid(
- BreezEvent_InvoicePaid value
- TResult? synced(
- BreezEvent_Synced value
- TResult? paymentSucceed()?,
- TResult? paymentFailed(
- BreezEvent_PaymentFailed value
- TResult? backupStarted(
- BreezEvent_BackupStarted value
- TResult? backupSucceeded()?,
- TResult? backupFailed(
- BreezEvent_BackupFailed value
- TResult? reverseSwapUpdated()?,
- TResult? swapUpdated(
- BreezEvent_SwapUpdated value
inherited
Implementation
@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
TResult? Function(BreezEvent_NewBlock value)? newBlock,
TResult? Function(BreezEvent_InvoicePaid value)? invoicePaid,
TResult? Function(BreezEvent_Synced value)? synced,
TResult? Function(BreezEvent_PaymentSucceed value)? paymentSucceed,
TResult? Function(BreezEvent_PaymentFailed value)? paymentFailed,
TResult? Function(BreezEvent_BackupStarted value)? backupStarted,
TResult? Function(BreezEvent_BackupSucceeded value)? backupSucceeded,
TResult? Function(BreezEvent_BackupFailed value)? backupFailed,
TResult? Function(BreezEvent_ReverseSwapUpdated value)? reverseSwapUpdated,
TResult? Function(BreezEvent_SwapUpdated value)? swapUpdated,
}) =>
throw _privateConstructorUsedError;