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