PlainTextResponse class

Types a response as successful and that has the plain/text content-type

Inheritance
Mixed in types

Constructors

PlainTextResponse({required Uint8List body, required int statusCode, required Map<String, String> headers})
const

Properties

asJsonArray List
no setterinherited
body Uint8List
finalinherited
contentType ContentType
finalinherited
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
finalinherited
json Map<String, dynamic>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
typedAsJsonArray<T>() List<T>
inherited

Operators

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