ApplicationFactory class abstract

Constructors

ApplicationFactory(AppConfig appConfig)

Properties

appConfig AppConfig
final
globalMiddleware Middleware?
no setter
hashCode int
The hash code for this object.
no setterinherited
middlewareGroups Map<String, List<Type>>
The application's route middleware groups.
final
middlewares List<Type>
The application's global HTTP middleware stack.
no setter
providers List<Type>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tester Future<Spookie>
no setter

Methods

bootstrap({bool listen = true}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onApplicationException(PharaohError error, Request request, Response response) FutureOr<Response>
startServer() Future<void>
toString() String
A string representation of this object.
inherited

Operators

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