SimpleFluidContainer class Null safety

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.
read-onlyinherited
instances Map<Type, dynamic>
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

getInstance<T>() → T
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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