In this guide, we will discuss Number isEven Property. This property returns a Boolean value true if the number is even.
Syntax
num.isEven
Example
void main() { int posNum = 10; print(posNum.isEven); }
It will produce the following output −
true
Next Topic : Click Here
Pingback: Number sign Property | Adglob Infosystem Pvt Ltd
Pingback: Dart Programming - Numbers | Adglob Infosystem Pvt Ltd