CFetchResponse class

The response object that results from the module CodeMeltedNetwork.fetch call.

See https://developer.mozilla.org/en-US/docs/Web/API/Response of the data types that can be translated from the call.

Constructors

CFetchResponse(dynamic data, int status, String statusText)
Constructs the CFetchResponse object.

Properties

asBlob Blob?
https://developer.mozilla.org/en-US/docs/Web/API/Blob
no setter
asFormData FormData?
https://developer.mozilla.org/en-US/docs/Web/API/FormData
no setter
asObject CObject?
The data object is represented as a JSON object.
no setter
asString String?
The data object is simply a string object.
no setter
data → dynamic
The data received.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status int
The status code of the call
final
statusText String
Any text associated with the status.
final

Methods

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

Operators

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