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