remove method

void remove(
  1. Type serviceType
)

Removes the service factory producing the given kind of service, if any.

Implementation

void remove(Type serviceType) => serviceFactories.remove(serviceType);