Application class

Constructors

Application(AsyncValueGetter initApp, {required ApplicationConfig appConfig})
The entry point into the framework. Takes an initApp function which will be called after framework is initialized and a List of Modules

Properties

appConfig → ApplicationConfig
final
hashCode → int
The hash code for this object.
no setterinherited
initApp → AsyncValueGetter
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

init() → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerModules() → Future
toString() → String
A string representation of this object.
inherited
withErrorManagement(AsyncValueGetter initApp) → void

Operators

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

Static Properties

config → ApplicationConfig
no setter
instance ↔ Application
getter/setter pair
isInDebugMode → bool
no setter
serviceLocator → ServiceLocator
no setter

Static Methods

get<T extends Object>() → T
hasModuleWithName(String name) → bool