AutoInject mixin

Mixin responsável por realizar as injeções de dependências em uma classe onde extenda esse Mixin, no momento que o objeto for instanciado o método inject será chamado e irá percorrer todos os atributos da classe e criando as instâncias de cada um e injetando por meio de um método set.

O método inject deverá ser chamado no construtor da classe chamando ele da seguinte forma: super.inject()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

inject() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

init(void initializeReflectable()) → void