Param class

Use this to annotate a parameter in a controller method which will be resolved to a parameter in the request path.

/users/<userId>/details Example: getUser(@Param() String userId) {}

Inheritance

Constructors

Param([String? name])
const

Properties

hashCode int
The hash code for this object.
no setterinherited
name String?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
process(Request request, ControllerMethodParam methodParam) → dynamic
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited