setContentLength method

  1. @override
void setContentLength(
  1. HttpResponse response,
  2. int length
)
override

Implementation

@override
void setContentLength(HttpResponse response, int length) =>
    response.headers.contentLength = length;