App class

Constructors

App({required Router router, Environment environment = Environment.other})

Properties

environment Environment
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
router Router
getter/setter pair
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
start() Future
Start ultimate runs router.serverHTTP but unlike simply calling router.serverHTTP, start will also bind the environment into the DI container, load the config.yml file into the container, and load all view templates into the container. This is the recommended way to start the app.
toString() String
A string representation of this object.
inherited

Operators

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