HttpStaticRoute class
! ---------------------------------------------------------------------------
Constructors
-
HttpStaticRoute.new(String path, {required String directoryPath, Set<
String> methods = const {'GET'}, List<HttpController> ? controllers, String? defaultDocument, bool listDirectory = false})
Properties
-
controllers
→ List<
HttpController> ? -
finalinherited
-
handler
→ FutureOr<
void> Function(HttpRequest request, HttpRoutePayload payload)? -
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
methods
→ Set<
String> -
finalinherited
- path → String
-
finalinherited
-
routes
→ List<
HttpRoute> ? -
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited