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