Body class

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

Example: create(@Body() user) {}

Inheritance

Constructors

Body()
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