The do-while loop is similar to the while loop, but it executes the block of code once before checking the condition.
do {
// code to be executed
} while (condition);
void main() {
int count = 0;
do {
print('Count: $count');
count++;
} while (count < 5);
}