Request class
- contains simplified logic to extract data from the io req class
Properties
-
body
↔ dynamic
-
the request body
getter/setter pair
-
bodyType
↔ String?
-
the request body type example => 'json' or 'form'
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
the HttpHeaders instance from the request
no setter
-
ioRequest
→ HttpRequest
-
the HttpRequest instance
no setter
-
method
→ String
-
the request method
no setter
-
params
↔ Map<String, dynamic>
-
? getter part
getter/setter pair
-
queryParams
↔ Map<String, dynamic>
-
the query parameters from the incoming request
getter/setter pair
-
request
→ HttpRequest
-
final
-
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
-
toString()
→ String
-
A string representation of this object.
inherited
-
validate<T>()
→ T
-
to validate the wit dto
!
throw BadRequest exception