RequestHandlerStore class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getHandlerFor<TResponse extends Object?>(Request<TResponse> request)
→ RequestHandler<dynamic, Request>
-
Returns the registered
RequestHandler
's for request
.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
register<TResponse, TRequest extends Request<TResponse>>(RequestHandler<TResponse, TRequest> handler)
→ void
-
Registers the
handler
to a given TRequest
.
-
toString()
→ String
-
A string representation of this object.
inherited
-
unregister<TResponse, TRequest extends Request<TResponse>>(RequestHandler<TResponse, TRequest> handler)
→ void
-
Unregisters the given
handler
.