Api class

Constructors

Api()

Properties

client ↔ Client?
getter/setter pair
config ApiConfig
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispatch() → dynamic
makeRequest(IsolateModel isolateModel) Future<Response>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
uploadFile(String fileKey, String? filePath, {String? blobName, List<int>? blobData, String? url, IsolateModel? isolateModel, StreamTransformer<List<int>, String>? decoder, dynamic onProgress(int bytes, int totalBytes)?, dynamic cancelToken(Function c)?, OnTimeout? onTimeout, Duration? timeLimit}) Future<Response>
This will use filePath if blobData is null.
uploadFiles({String? url, IsolateModel? isolateModel, StreamTransformer<List<int>, String>? decoder, List<FileEntity>? multiKey, MultipleFileEntity? singleKey, List<BlobFileEntity>? multiKeyBlobFile, MultipleBlobFileEntity? singleKeyBlobFile, dynamic onProgress(int bytes, int totalBytes)?, dynamic cancelToken(Function c)?, OnTimeout? onTimeout, Duration? timeLimit}) Future<Response>

Operators

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

Static Properties

shared Api
no setter