InjectX class

Singleton of all injectable classes

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

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 Properties

length int
no setter

Static Methods

add<T>(T instance) → T
Add the instance and return it so it can be assigned
clear() → dynamic
Remove all instances
get<T>() → T
Return the class or instantiate it if it's missing calls the init method for deferred initialition if it's not be called
getAsync<T>() Future<T>
remove<T>() → void
Remove the instance