Dart Continue Statements
Jinali Ghoghari
1 min read
The continue
statement is a control flow mechanism that allows you to skip the remaining code inside a loop iteration and proceed directly to the next iteration .
Continue
keywords is use for Continue the loop even condition is full fill.
Example:
The above example display that when our condition meet then the loop not stop but they skip this value and run the loop till the end.
Like here , we write condition that if num == 8 then continue , so here we can see that number 8 is not printed in output.
0
Subscribe to my newsletter
Read articles from Jinali Ghoghari directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by