RouteBuilder class
Constructors
-
RouteBuilder.new(FutureOr<
Response> notFoundHandler(Request)) - Public methods
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
-
controller(
Controller controller) → RouteBuilder -
delete(
String route, Function handler) → RouteBuilder -
get(
String route, Function handler) → RouteBuilder -
getRouter(
) → Router -
head(
String route, Function handler) → RouteBuilder -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
options(
String route, Function handler) → RouteBuilder -
patch(
String route, Function handler) → RouteBuilder -
post(
String route, Function handler) → RouteBuilder -
put(
String route, Function handler) → RouteBuilder -
route(
AbstractRoute route) → RouteBuilder -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited