messageSize property
int
get
messageSize
Gets or sets the size of the variable header + payload section of the message. The size of the variable header + payload.
Implementation
int get messageSize => _messageSize;
set
messageSize
(int value)
Implementation
set messageSize(int value) {
if (value < 0 || value > MqttClientConstants.maxMessageSize) {
throw InvalidPayloadSizeException(
value, MqttClientConstants.maxMessageSize);
}
_messageSize = value;
}