contentLength property
int?
get
contentLength
Gets the content length
Implementation
int? get contentLength {
final lengthStr = getHeader(StompHeaders.contentLength);
if (lengthStr == null) return null;
return int.tryParse(lengthStr);
}