remove method

void remove(
  1. {String tag,
  2. BaseViewStateProviderController controller}
)

Implementation

void remove({String tag, BaseViewStateProviderController controller}){
  if(isNotEmpty(tag) && _factoriesByName.containsKey(tag)){
    _factoriesByName.remove(tag);
  }else if(_factories.containsKey(controller.runtimeType)){
    _factories.remove(controller);
  }
}