removeCopyFactory<E>  static method 
      
void
removeCopyFactory<E>()
      
      
    
Removes the first factory that matches type E.
Implementation
static void removeCopyFactory<E>() {
  // [DeepCopyFactory] are considered equal, if their generic type argument
  // is the same.
  final emptyFac = DeepCopyFactory<E>((_) => throw UnreachableCodeError());
  _copyFactories.remove(emptyFac);
}