put<T> method
void
put<T>(
- BuildFactory<
T> factory
inherited
Implementation
void put<T>(BuildFactory<T> factory) {
assert(!_alias.containsKey(T) || Log.e('${_alias[T]} already exists.'));
_factorys[T] = factory;
}