BreezEvent class sealed

Implementers
Annotations
  • @freezed

Constructors

BreezEvent.backupFailed({required BackupFailedData details})
Indicates that the backup process has just failed
const
factory
BreezEvent.backupStarted()
Indicates that the backup process has just started
const
factory
BreezEvent.backupSucceeded()
Indicates that the backup process has just finished successfully
const
factory
BreezEvent.invoicePaid({required InvoicePaidDetails details})
Indicates that a new invoice has just been paid
const
factory
BreezEvent.newBlock({required int block})
Indicates that a new block has just been found
const
factory
BreezEvent.paymentFailed({required PaymentFailedData details})
Indicates that an outgoing payment has been failed to complete
const
factory
BreezEvent.paymentSucceed({required Payment details})
Indicates that an outgoing payment has been completed successfully
const
factory
BreezEvent.reverseSwapUpdated({required ReverseSwapInfo details})
Indicates that a reverse swap has been updated which may also include a status change
const
factory
BreezEvent.swapUpdated({required SwapInfo details})
Indicates that a swap has been updated which may also include a status change
const
factory
BreezEvent.synced()
Indicates that the local SDK state has just been sync-ed with the remote components
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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(BreezEvent_PaymentSucceed value), required TResult paymentFailed(BreezEvent_PaymentFailed value), required TResult backupStarted(BreezEvent_BackupStarted value), required TResult backupSucceeded(BreezEvent_BackupSucceeded value), required TResult backupFailed(BreezEvent_BackupFailed value), required TResult reverseSwapUpdated(BreezEvent_ReverseSwapUpdated value), required TResult swapUpdated(BreezEvent_SwapUpdated value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? newBlock(BreezEvent_NewBlock value)?, TResult? invoicePaid(BreezEvent_InvoicePaid value)?, TResult? synced(BreezEvent_Synced value)?, TResult? paymentSucceed(BreezEvent_PaymentSucceed value)?, TResult? paymentFailed(BreezEvent_PaymentFailed value)?, TResult? backupStarted(BreezEvent_BackupStarted value)?, TResult? backupSucceeded(BreezEvent_BackupSucceeded value)?, TResult? backupFailed(BreezEvent_BackupFailed value)?, TResult? reverseSwapUpdated(BreezEvent_ReverseSwapUpdated value)?, TResult? swapUpdated(BreezEvent_SwapUpdated value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult newBlock(BreezEvent_NewBlock value)?, TResult invoicePaid(BreezEvent_InvoicePaid value)?, TResult synced(BreezEvent_Synced value)?, TResult paymentSucceed(BreezEvent_PaymentSucceed value)?, TResult paymentFailed(BreezEvent_PaymentFailed value)?, TResult backupStarted(BreezEvent_BackupStarted value)?, TResult backupSucceeded(BreezEvent_BackupSucceeded value)?, TResult backupFailed(BreezEvent_BackupFailed value)?, TResult reverseSwapUpdated(BreezEvent_ReverseSwapUpdated value)?, TResult swapUpdated(BreezEvent_SwapUpdated value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<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)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult newBlock(int block), required TResult invoicePaid(InvoicePaidDetails details), required TResult synced(), required TResult paymentSucceed(Payment details), required TResult paymentFailed(PaymentFailedData details), required TResult backupStarted(), required TResult backupSucceeded(), required TResult backupFailed(BackupFailedData details), required TResult reverseSwapUpdated(ReverseSwapInfo details), required TResult swapUpdated(SwapInfo details)}) → TResult
inherited
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)?}) → TResult?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited