PubSubMessage class
Represents a message published on a PubSub topic.
Constructors
- PubSubMessage({required String topic, required String content, required String sender})
- Creates a PubSub message.
Properties
- content → String
-
The message content.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sender → String
-
The sender's peer ID.
final
- topic → String
-
The topic this message was published to.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited