P2PMessageToSendEvent class
An outgoing peer-to-peer message the app must transmit to toPeerId on its own transport (bead libspiffy-a2v3).
The library builds the payload and names the peer; carrying it is the
app's job. ChannelP2PMessageToSendEvent is this event under its
original, channel-named class, so an app that listens for the channel
class keeps working; the merkle-proof protocol emits this base class with
messageType proof_request / proof_response, so an app that wants
proof recovery must listen for P2PMessageToSendEvent.
- Inheritance
-
- Object
- CoordinatorEvent
- P2PMessageToSendEvent
- Implementers
Constructors
-
P2PMessageToSendEvent({required String toPeerId, required String messageType, required Map<
String, dynamic> payload})
Properties
- eventTimestamp → DateTime
-
Timestamp of the event
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- messageType → String
-
final
-
payload
→ Map<
String, dynamic> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toPeerId → String
-
final
- walletId → String?
-
Optional wallet ID for filtering events by wallet
no setteroverride
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