Endpoint class

Constructors

Endpoint({String name = "UnnamedEndpoint", String? urlpattern})

Properties

hashCode → int
The hash code for this object.
no setterinherited
name ↔ String
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
urlpattern ↔ String
getter/setter pair

Methods

delete(HttpRequest request, Map<String, dynamic> pathParams) → Future
get(HttpRequest request, Map<String, dynamic> pathParams) → Future
handleRequest(HttpRequest request, Map<String, dynamic> pathParams) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(HttpRequest request, Map<String, dynamic> pathParams) → Future
post(HttpRequest request, Map<String, dynamic> pathParams) → Future
put(HttpRequest request, Map<String, dynamic> pathParams) → Future
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

sendObjectAsJson(HttpRequest request, Object o) → dynamic