NitroTestResponse class

One answered test request.

Constructors

NitroTestResponse({required int status, required Map<String, String> headers, required Uint8List body})

Properties

body → Uint8List
final
hashCode → int
The hash code for this object.
no setterinherited
headers → Map<String, String>
Response headers, last value winning on duplicates.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → int
final

Methods

json() → dynamic
The body decoded as JSON.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
text() → String
The body decoded as UTF-8 text.
toString() → String
A string representation of this object.
inherited

Operators

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