wireBytes property

int get wireBytes

Bytes the client receives: the structured payload, or the text alone.

Implementation

int get wireBytes => textOnly ? renderText().length : jsonEncode(toStructuredContent()).length;