mapOrNull<TResult extends Object?> method

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