backTarget method

void backTarget()

Implementation

void backTarget() {
  ///规避没有页面的情况
  try {
    _targetPageQueue.removeLast();
    _navigateToTargetCallBack?.call(navigatorKey.currentContext!, _targetPageQueue.removeLast());
  }catch(e){
    _navigateToTargetCallBack?.call(navigatorKey.currentContext!,null);
  }
}