validateCommandText static method
Implementation
static void validateCommandText(String? commandText) {
if (commandText == null || commandText.isEmpty) {
throw Exception('commandText não pode ser vazio.');
}
}
static void validateCommandText(String? commandText) {
if (commandText == null || commandText.isEmpty) {
throw Exception('commandText não pode ser vazio.');
}
}