MessageContext class

The context for a topic message for a subscription.

Inheritance

Constructors

MessageContext(String id, MessageRequest req, MessageResponse resp)
MessageContext.fromRequest(ServerMessage msg)
Create an Event context from a server message.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
The ID which connects the request/response for the server handling.
finalinherited
req MessageRequest
The request object.
finalinherited
res MessageResponse
The response object.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toResponse() → ClientMessage
Converts the context to a gRPC client response.
toString() String
A string representation of this object.
inherited

Operators

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