TextResponse class
ResponseWriter type to send plain text response
- Inheritance
-
- Object
- ResponseWriter
- TextResponse
Constructors
- TextResponse(String body)
Properties
-
add
↔ dynamic Function(List<
int> data) -
getter/setter pairinherited
-
addStream
↔ dynamic Function(Stream<
List< stream)int> > -
getter/setter pairinherited
- body → String
-
final
- connectionInfo ↔ HttpConnectionInfo?
-
latefinalinherited
-
latefinalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- headers ↔ HttpHeaders
-
latefinalinherited
- redirect ↔ dynamic Function(Uri location, {int status})
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- setStatus ↔ dynamic Function(int status)
-
getter/setter pairinherited
- write ↔ dynamic Function(Object? object)
-
getter/setter pairinherited
- writeAll ↔ dynamic Function(Iterable objects, [String separator])
-
getter/setter pairinherited
- writeln ↔ dynamic Function([Object? object])
-
getter/setter pairinherited
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> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited