AttributeContext_Request constructor
AttributeContext_Request({})
Implementation
factory AttributeContext_Request({
$core.String? id,
$core.String? method,
$core.Map<$core.String, $core.String>? headers,
$core.String? path,
$core.String? host,
$core.String? scheme,
$core.String? query,
$2.Timestamp? time,
$fixnum.Int64? size,
$core.String? protocol,
$core.String? reason,
AttributeContext_Auth? auth,
}) {
final $result = create();
if (id != null) {
$result.id = id;
}
if (method != null) {
$result.method = method;
}
if (headers != null) {
$result.headers.addAll(headers);
}
if (path != null) {
$result.path = path;
}
if (host != null) {
$result.host = host;
}
if (scheme != null) {
$result.scheme = scheme;
}
if (query != null) {
$result.query = query;
}
if (time != null) {
$result.time = time;
}
if (size != null) {
$result.size = size;
}
if (protocol != null) {
$result.protocol = protocol;
}
if (reason != null) {
$result.reason = reason;
}
if (auth != null) {
$result.auth = auth;
}
return $result;
}