UploadFileQuery class

Inheritance

Constructors

UploadFileQuery(File? _file, {bool? isPublic, String? mimeType, void onProgress(int progress)?})
UploadFileQuery.fromBytes(List<int>? _bytes, String? _name, {bool? isPublic, String? mimeType, void onProgress(int progress)?})

Properties

hashCode int
The hash code for this object.
no setterinherited
isPublic bool?
getter/setter pair
mimeType String?
getter/setter pair
onProgress ↔ (void Function(int progress)?)
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildQueryUrl(List specificParts) String
inherited
getTokenExpirationDateFromResponse(RestResponse response) DateTime?
inherited
handelError(Object error) → dynamic
inherited
handleResponse(RestResponse response) → dynamic
inherited
isSessionRequired() bool
inherited
isUserRequired() bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
perform() Future<CubeFile>
override
prepareSessionIfNeed() Future<CubeSession?>
inherited
processResult(String responseBody) CubeFile?
override
putValue(Map<String?, dynamic> parametersMap, String key, dynamic value) → void
inherited
setBody(RestRequest request) → void
inherited
setHeaders(RestRequest request) → void
inherited
setMethod(RestRequest request) → void
inherited
setParams(RestRequest request) → void
inherited
setupRequest(RestRequest request) → void
inherited
setUrl(RestRequest request) → void
inherited
toString() String
A string representation of this object.
inherited
updateTokenExpirationDate(RestResponse response) → void
inherited

Operators

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