get<T> static method
Retrieves a typed route parameter by name.
Returns null if parameter doesn't exist or type doesn't match.
Example:
final id = RouteParams.get<int>('id'); // 123
final slug = RouteParams.get<String>('slug'); // 'my-post'
Implementation
static T? get<T>(String name) => all()[name] as T?;