Asserts that the string is not empty
static void notEmpty(String? value, [String? message]) { if (value == null || value.isEmpty) { throw AssertionError(message ?? 'String must not be empty'); } }