Response.created constructor
Represents a 201 response.
The location
is a URI that is added as the Location header.
Implementation
Response.created(String location,
{dynamic body, Map<String, dynamic>? headers})
: this(
HttpStatus.created,
_headersWith(headers!, {HttpHeaders.locationHeader: location}),
body);