contentLength property

  1. @override
int? contentLength

The size of the request body, in bytes.

This defaults to null, which indicates that the size of the request is not known in advance. May not be assigned a negative value.

Implementation

@override
int? get contentLength => base.contentLength;
  1. @override
void contentLength=(int? v)

Implementation

@override
set contentLength(int? v) => base.contentLength = v;