ChannelClosedResponse class

Response to channel close

Inheritance

Constructors

ChannelClosedResponse({required String channelId, required bool success, bool finalized = false, String? settlementTxId, bool alreadyClosed = false, String? settlementTxHex, String? error})

Properties

alreadyClosed → bool
The channel was already closed: a client resends channel_close until channel_closed arrives, and that may be what was lost. On the server settlementTxHex is the settlement it closed with, to hand over again.
final
channelId → String
final
correlationId → String
finalinherited
error → String?
Why the request failed; null when success is true.
final
finalized → bool
Whether the channel actually reached closed.
final
hashCode → int
The hash code for this object.
no setterinherited
metadata → Map<String, dynamic>
finalinherited
payload → dynamic
The reply itself, so ask<ConcreteResponse>() completes with it.
no setterinherited
replyTo → ActorRef?
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sender → ActorRef?
finalinherited
settlementTxHex → String?
The settlement the server closed with, when alreadyClosed.
final
settlementTxId → String?
The transaction that ended the channel and paid this side, recorded in the wallet. Null when finalized is false.
final
success → bool
Whether the request this reply answers succeeded.
final
timestamp → DateTime
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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