BloomHttpUpdateAdapter constructor
BloomHttpUpdateAdapter({})
Creates a BloomHttpUpdateAdapter.
Implementation
BloomHttpUpdateAdapter({
required this.baseUrl,
http.Client? httpClient,
Directory? stagingDir,
this.defaultHeaders = const {},
}) : httpClient = httpClient ?? http.Client(),
stagingDir = stagingDir ?? Directory(p.join(Directory.systemTemp.path, 'bloom_updates_stage'));