validateMinLength static method
Validates that the topic does not fall below the minimum length. topicInstance - The instance to check.
Implementation
static void validateMinLength(Topic topicInstance) {
if (topicInstance.rawTopic.isEmpty) {
throw Exception(
'mqtt_client::Topic: rawTopic must contain at least one character');
}
}