SimpleFluidContainer class

Holds a reference to dependencies in a map and allows fetching them with their type. As type is the only qualifier it does not support multiple instances of the same type.

Inheritance

Constructors

SimpleFluidContainer()

Properties

hashCode int
The hash code for this object.
no setterinherited
instances Map<Type, dynamic>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getInstance<T>() → T
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerType<T>(T instance) → void
toString() String
A string representation of this object.
inherited

Operators

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