FilenClient constructor
FilenClient({
- required ConfigService config,
- Client? httpClient,
Implementation
FilenClient({
required this.config,
http.Client? httpClient,
}) : api = FilenApi(client: httpClient),
crypto = FilenCrypto(),
cache = FilenCache() {
auth = FilenAuth(api: api, crypto: crypto);
drive = FilenDrive(api: api, crypto: crypto, cache: cache);
uploader =
FilenUpload(api: api, crypto: crypto, cache: cache, drive: drive);
downloader =
FilenDownload(api: api, crypto: crypto, cache: cache, drive: drive);
}