CollectorExporter constructor

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

Implementation

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