Router whereBool(String paramName) { for (final route in _lastAdded) { (route.paramTypes ??= {})[paramName] = bool; } return this; }