CollectorExporter constructor

CollectorExporter(
  1. Uri uri, {
  2. Client? httpClient,
  3. Map<String, String> headers = const {},
  4. int timeoutMilliseconds = 10000,
})

Implementation

CollectorExporter(
  this.uri, {
  http.Client? httpClient,
  this.headers = const {},
  this.timeoutMilliseconds = 10000,
}) : client = httpClient ?? http.Client();