SentryRequest constructor

SentryRequest({
  1. String? url,
  2. String? method,
  3. String? queryString,
  4. String? cookies,
  5. dynamic data,
  6. Map<String, String>? headers,
  7. Map<String, String>? env,
  8. Map<String, String>? other,
})

Implementation

SentryRequest({
  this.url,
  this.method,
  this.queryString,
  this.cookies,
  dynamic data,
  Map<String, String>? headers,
  Map<String, String>? env,
  Map<String, String>? other,
})  : _data = data,
      _headers = headers != null ? Map.from(headers) : null,
      _env = env != null ? Map.from(env) : null,
      _other = other != null ? Map.from(other) : null;