KoinApplication class

Koin Application Help prepare resources for Koin context

Constructors

KoinApplication()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
koin Koin
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

close() → void
createEagerInstances() KoinApplication
Create Single instances Definitions marked as createdAtStart
emptyInstanceLoggerObserver() KoinApplication
Set Koin Logger @param logger - logger
initInter() → void
logger(Logger logger) KoinApplication
Set Koin Logger @param logger - logger
module(Module module) KoinApplication
Load definitions from module @param module
modules(List<Module> modules) KoinApplication
Load definitions from modules @param modules
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
printLogger({Level level = Level.info}) KoinApplication
Set Koin to use PrintLogger, by default at Level.INFO
toString() String
A string representation of this object.
inherited
unloadModule(Module modules) → void
unloadModules(List<Module> modules) → void

Operators

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

Static Methods

init() KoinApplication