DaravelRouter class
Methods
-
add(String method, String path, Function handler)
→ DaravelRouteParams
-
Define a route with custom method
-
any(String path, Function handler)
→ DaravelRouteParams
-
Define a route for all HTTP methods
-
delete(String path, Function handler)
→ DaravelRouteParams
-
Define a route with the DELETE method
-
domain(String domain)
→ DaravelRouter
-
-
get(String path, Function handler)
→ DaravelRouteParams
-
Define a route with the GET method
-
group(String path, dynamic callback(DaravelRouter))
→ void
-
-
head(String path, Function handler)
→ DaravelRouteParams
-
Define a route with the HEAD method
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
options(String path, Function handler)
→ DaravelRouteParams
-
Define a route with the OPTIONS method
-
patch(String path, Function handler)
→ DaravelRouteParams
-
Define a route with the PATCH method
-
post(String path, Function handler)
→ DaravelRouteParams
-
Define a route with the POST method
-
put(String path, Function handler)
→ DaravelRouteParams
-
Define a route with the PUT method
-
setApp(Core app)
→ void
-
-
toString()
→ String
-
A string representation of this object.
inherited