map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>({
  1. required TResult newBlock(
    1. BreezEvent_NewBlock value
    ),
  2. required TResult invoicePaid(
    1. BreezEvent_InvoicePaid value
    ),
  3. required TResult synced(
    1. BreezEvent_Synced value
    ),
  4. required TResult paymentSucceed(
    1. BreezEvent_PaymentSucceed value
    ),
  5. required TResult paymentFailed(
    1. BreezEvent_PaymentFailed value
    ),
  6. required TResult backupStarted(
    1. BreezEvent_BackupStarted value
    ),
  7. required TResult backupSucceeded(
    1. BreezEvent_BackupSucceeded value
    ),
  8. required TResult backupFailed(
    1. BreezEvent_BackupFailed value
    ),
  9. required TResult reverseSwapUpdated(
    1. BreezEvent_ReverseSwapUpdated value
    ),
  10. required TResult swapUpdated(
    1. 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;