bindImplIntoRoute method

dynamic bindImplIntoRoute(
  1. LifecycleMixin lifecycleImpl
)

Implementation

bindImplIntoRoute(LifecycleMixin lifecycleImpl) {
  bool b = _map.containsKey(_routeQueue.first);
  if (b)
    throw Exception(
        "Lifecycle bindImplIntoRote error: this key is already bound");
  _map[_routeQueue.first] = lifecycleImpl;
}