Cancellation mixin

Superclass Constraints

Properties

cancellationToken CancellationToken
read / write, override
requestListener ProgressListener
read / write, inherited
responseListener ProgressListener
read / write, inherited
url String
read-only, inherited
verb HttpVerb
read-only, inherited
params Map<String, String>
read-only, inherited
body Map<String, dynamic>
read-only, inherited
files List<MultipartFile>
read-only, inherited
hasFiles bool
read-only, inherited
headers Map<String, String>
read-only, inherited
canHaveBody bool
read-only, inherited
verbString String
read-only, inherited
hasRequestProgressListener bool
read-only, inherited
hasResponseProgressListener bool
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

cancellable() → dynamic
withCancellationToken(CancellationToken token) → dynamic
withBody(Map<String, dynamic> body) → dynamic
inherited
addHeaders(Map<String, String> headers) → dynamic
inherited
addFiles(List<MultipartFile> files) → dynamic
inherited
addParams(Map<String, String> headers) → dynamic
inherited
parseResult(ParsedBody response) → dynamic
inherited
isUrl(String path) bool
inherited
isMethod(HttpVerb verb) bool
inherited
toString() String
A string representation of this object. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

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