Core class
Constructors
-
Core({List<
DaravelRouter> routers = const [], List<DaravelMiddleware> globalMiddlewares = const [], Map<String, dynamic> configMap = const {}})
Properties
-
configMap
→ Map<
String, dynamic> -
final
-
globalMiddlewares
→ List<
DaravelMiddleware> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- rootHandler → Handler?
-
no setter
-
routers
→ List<
DaravelRouter> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
config(
String key) → String? -
env(
String key) → String? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
{int? port}) → Future< HttpServer> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited