unregister static method

bool unregister(
  1. String providerId
)

Unregister a provider factory

providerId - ID of the provider to unregister

Returns true if the provider was found and removed, false otherwise

Implementation

static bool unregister(String providerId) {
  return _factories.remove(providerId) != null;
}