RouteContext class abstract

Inheritance

Constructors

RouteContext()

Properties

binds List<BindContract<Object>>
Link injected objects
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
imports List<BindContext>
Import Binds from other modules. ATTENTION: The binds must be marked with the flag export: true, in the module to be imported.
no setterinherited
instanciatedSingletons List<BindEntry<Object>>
Bind ready as singleton
no setterinherited
modules List<RouteContext>
store all módules
no setter
routes List<ModularRoute>
Aggregates all ModularRoute type Objects to the context,
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

changeBinds(List<BindContract<Object>> newBinds) → void
Change binds
inherited
dispose() → void
Dispose all bind from the memory
inherited
getBind<T extends Object>(Injector injector) BindEntry<T>?
Get the binds for that context.
inherited
getProcessBinds() List<BindContract<Object>>
get processed binds
inherited
init() Map<ModularKey, ModularRoute>
Used to return a route map at the start of the application.
isReady() Future<void>
checks if all asynchronous binds are ready to be used synchronously.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove<T>() bool
Dispose bind from the memory
inherited
toString() String
A string representation of this object.
inherited

Operators

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