HttpSender constructor

HttpSender(
  1. Config config
)

Implementation

HttpSender(this.config)
    : uri = Uri.parse(config.endpoint),
      headers = {
        'User-Agent': 'rollbar-dart',
        'Content-Type': 'application/json',
        'X-Rollbar-Access-Token': config.accessToken,
      };