BloomHttpUpdateAdapter constructor

BloomHttpUpdateAdapter({
  1. required String baseUrl,
  2. Client? httpClient,
  3. Directory? stagingDir,
  4. Map<String, String> defaultHeaders = const {},
})

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'));