Response class
- contains getters and logic to respond to incoming req
Constructors
- Response(HttpRequest request, {int? statusCode, ContentType? contentType})
Properties
- contentType → ContentType?
-
final
- defStatusCode → int
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isClosed → bool
-
no setter
- request ↔ HttpRequest
-
latefinal
- response → HttpResponse
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
Object data) → String -
toString(
) → String -
A string representation of this object.
inherited
-
write(
Object data) → Future< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited