how can i use if statement in dart language tutorial code example
Example: if else dart example
void main() {
var num = 12;
if (num % 2==0) {
print("Even");
} else {
print("Odd");
}
}
void main() {
var num = 12;
if (num % 2==0) {
print("Even");
} else {
print("Odd");
}
}