removeBloc<T> method

dynamic removeBloc<T>()

Implementation

removeBloc<T>() {
  String type = T.toString();
  if (_injectMapBloc.containsKey(type)) {
    try {
      _injectMapBloc[type].dispose();
    } catch (e) {}
    _injectMapBloc.remove(type);
  }
}