removeInitializer method

bool removeInitializer(
  1. Type key
)

Removes initializer of given key. Returns true if initializer is removed.

Implementation

bool removeInitializer(Type key) {
  return _factory.remove(key) != null;
}