Response class

Constructors

Response({required int statusCode, required Map<String, String> headers, required List<int> body, required HTTPVersion httpVersion, required String? errorMessage, required DateTime? lastModified})

Properties

body List<int>
getter/setter pair
errorMessage String?
final
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
final
httpVersion HTTPVersion
final
lastModified DateTime?
final
length int
no setter
request Request?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
text() String
toString() String
A string representation of this object.
inherited

Operators

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