SubscriptionRequest class abstract

Represents a request to subscribe to an event.

Constructors

SubscriptionRequest()

Properties

clientId String?
The ID of the client requesting to subscribe.
no setter
eventName String?
The name of the event the client wants to subscribe to.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

accept(String? clientId) FutureOr<Subscription>
Accept the request, and grant the client access to subscribe to the event.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reject(String errorMessage) → void
Deny the request with an error message.
toString() String
A string representation of this object.
inherited

Operators

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