created function

Response created(
  1. OutboundDocument document,
  2. String location
)

Implementation

Response created(OutboundDocument document, String location) =>
    response(StatusCode.created, document: document)
      ..headers['location'] = [location];