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