Endpoint class Null safety

A class that responds for a single HTTP method and a single HTTP uri

Example: "GET /test HTTP/1.1" and "POST /test HTTP/1.1" are two different endpoints

Constructors

Endpoint()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
onHandle(Request param) Future<Response>
Called every time an handling is needed. [...]
inherited
onInit(Context context) Future<void>
Called to init a component only one time. [...]
toString() String
A string representation of this object. [...]
inherited

Operators

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