ResponseWriter class abstract
response manipulator/writer to help developers write responses faster.
You can use JsonResponse to return json response, HtmlResponse for html file, ...etc
Constructors
Properties
-
add
↔ dynamic Function(List<
int> data) -
getter/setter pair
-
addStream
↔ dynamic Function(Stream<
List< stream)int> > -
getter/setter pair
- connectionInfo ↔ HttpConnectionInfo?
-
latefinal
-
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- headers ↔ HttpHeaders
-
latefinal
- redirect ↔ dynamic Function(Uri location, {int status})
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- setStatus ↔ dynamic Function(int status)
-
getter/setter pair
- write ↔ dynamic Function(Object? object)
-
getter/setter pair
- writeAll ↔ dynamic Function(Iterable objects, [String separator])
-
getter/setter pair
- writeln ↔ dynamic Function([Object? object])
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
writeResp(
) → Future< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited