TextResponse class

Inheritance
Implementers

Constructors

TextResponse.html(String _text, {int statusCode = 200})
TextResponse.plain(String _text, {int statusCode = 200})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
getter/setter pairinherited

Methods

getBytes() List<int>
getData() Stream<List<int>>
inherited
getHeaders() Map<String, List<String>>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toHttpResponse(Uri requestUrl) HttpResponse
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited