isFalse method
Checks if the boolean value is false.
Returns true
if the value is false, otherwise returns false
.
Example:
bool value = false;
print(value.isFalse()); // true
Implementation
bool isFalse() => !this;
Checks if the boolean value is false.
Returns true
if the value is false, otherwise returns false
.
Example:
bool value = false;
print(value.isFalse()); // true
bool isFalse() => !this;