put method

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

Implementation

void put(BaseViewStateProviderController controller, {String tag}){
  if(!controller.disposed){
    if(isNotEmpty(tag)){
      _factoriesByName[tag] = controller;
    }else{
      _factories[controller.runtimeType] = controller;
    }
  }

}