ResponseEntity constructor
ResponseEntity(})
Implementation
ResponseEntity(
super.statusCode, {
Object? body,
ObjectMapper? objectMapper,
super.headers,
super.encoding,
super.context,
}) : _body = body,
super(
body: body is! Stream
? body != null
? (objectMapper ?? Winter.instance.context.objectMapper)
.serialize(body)
: ''
: body,
);