Router class

Inheritance

Constructors

Router({String basePath = ''})

Properties

arguments List<Argument>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

bind(Object obj) → void
call(Context context) Future<void>
override
canCatchError() bool
inherited
delete(String path, Function callback, {bool useRegexp = false}) → RouteItem
get(String path, Function callback, {bool useRegexp = false}) → RouteItem
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(String path, Function callback, {bool useRegexp = false}) → RouteItem
post(String path, Function callback, {bool useRegexp = false}) → RouteItem
put(String path, Function callback, {bool useRegexp = false}) → RouteItem
route(String method, String path, Function callback, {bool useRegexp = false}) → RouteItem
toString() String
A string representation of this object.
inherited

Operators

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