HttpResult class

Constructors

HttpResult.new(StreamedResponse? rawResponse, [dynamic error])

Properties

bodyBytes Uint8List?
getter/setter pair
bodyText String?
latefinal
code int
latefinal
contentLength int?
latefinal
contentType String?
latefinal
error → dynamic
final
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
latefinal
httpCode int
latefinal
httpOK bool
latefinal
httpStatus String?
latefinal
isJson bool
latefinal
isRedirect bool
latefinal
jsonResult → JsonResult
latefinal
message String?
latefinal
persistentConnection bool
latefinal
rawResponse → StreamedResponse?
final
request → BaseRequest?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stream → ByteStream
latefinal
success bool
latefinal

Methods

data<T>(T maper(JsonValue e)) → DataResult<T>
list<T>(T maper(JsonValue e)) → ListResult<T>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
table<T>(T maper(JsonValue e)) → ListResult<T>
toString() String
A string representation of this object.
inherited

Operators

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