Route class
- Implementers
Constructors
- Route({required String path, required HttpMethod method, required RequestHandler handler, FilterConfig? filterConfig})
-
factory
- Route.build({required String path, required HttpMethod method, required RequestHandler handler, FilterConfig filterConfig = const FilterConfig([])})
Properties
- filterConfig → FilterConfig
-
final
- handler → RequestHandler
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- method → HttpMethod
-
final
- path → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
match(
String rawActualUrl) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited