Endpoint class Null safety
A single endpoint in the server
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- method → String
-
The accepted HTTP method
final
-
requestMiddlewares
→ List<
String> -
The required request middlewares
final
-
responseMiddlewares
→ List<
String> -
The required response middlewares
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- uri → String
-
The accepted Uri substring
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
onHandle(
Request request) → Future< Response> - Executed every time a Request should pass in this Endpoint [...]
-
onInit(
String uri, String method) → Future< void> - Executed one time when the Endpoint is initialized [...]
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited