App class

Available extensions

Constructors

App()
factory

Properties

container ServiceContainer
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status AppStatus
getter/setter pair

Methods

bind<T>(T instance) → void

Available on App, provided by the ContainerOperations extension

bindInstance<T>(T instance) → void

Available on App, provided by the ContainerOperations extension

boot() Future<void>
make<T>() → T

Available on App, provided by the ContainerOperations extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onBooted(void callback()) → void
register(Provider provider) → void
registerGroup(String groupName, List<Provider> providers) → void
resolve<T>() → T

Available on App, provided by the ContainerOperations extension

resolveInstance<T>() → T

Available on App, provided by the ContainerOperations extension

setKeys() → void
shutdown() Future<void>
toString() String
A string representation of this object.
inherited
tryMake<T>() → T?

Available on App, provided by the ContainerOperations extension

tryResolve<T>() → T?

Available on App, provided by the ContainerOperations extension

tryResolveInstance<T>() → T?

Available on App, provided by the ContainerOperations extension

Operators

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

Static Properties

version String
final

Static Methods

generateKey() String