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