UploadTaskResponse class

Contains information about a enqueue or finished/failed upload. For in-flight information, see the UploadTaskProgress class.

Constructors

UploadTaskResponse({required String taskId, String? response, int? statusCode, UploadTaskStatus? status, Map<String, dynamic>? headers})
Default constructor.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
headers Map<String, dynamic>?
Response headers.
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
response String?
If the server responded with a body, it will be available here. No automatic conversion (e.g. JSON / XML) will be done.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status UploadTaskStatus?
The final status, refer to the enum for details.
final
statusCode int?
The status code of the finished upload.
final
stringify bool
If set to true, the toString method will be overridden to output this instance's props.
no setter
taskId String
Upload Task ID.
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