Hello class final
First message a peer sends after connecting: announces role and protocol.
- Inheritance
-
- Object
- ControlMessage
- Hello
Constructors
Properties
- agentVersion → String
-
The peer's software version.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- protocolVersion → String
-
The protocol version the peer speaks (
major.minor).final - role → PeerRole
-
The peer's role.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
The stable type discriminator (e.g.
auth.challenge).no setteroverride - uid → String?
-
The peer's content-derived uid, if it has one.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
The message payload (excluding
type, which the codec adds).override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited