removeNotification method

void removeNotification(
  1. String routePath
)

移除路由状态通知(该方法框架内部调用)

Implementation

void removeNotification(String routePath) {
  if (routePath.isEmptyString) {
    return;
  }
  _notificationMap.removeWhere((key, value) => key.startsWith(routePath));
}