PeerMessage class final
A message as a PeerWire.listenFrom listener hears it: what arrived, and who sent it.
One object, so a minor can hand a listener more — when it arrived, over which channel — without breaking a listener written against 1.0. One per delivered message, heard by every listener.
Constructors
-
PeerMessage({required int from, required Map<
String, Object?> message}) -
const
Properties
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