AttributeContext_Response constructor

AttributeContext_Response({
  1. Int64? code,
  2. Int64? size,
  3. Map<String, String>? headers,
  4. Timestamp? time,
})

Implementation

factory AttributeContext_Response({
  $fixnum.Int64? code,
  $fixnum.Int64? size,
  $core.Map<$core.String, $core.String>? headers,
  $2.Timestamp? time,
}) {
  final $result = create();
  if (code != null) {
    $result.code = code;
  }
  if (size != null) {
    $result.size = size;
  }
  if (headers != null) {
    $result.headers.addAll(headers);
  }
  if (time != null) {
    $result.time = time;
  }
  return $result;
}