and3 method
- bool? other()
AND that evaluates other only if this is not false.
Implementation
bool? and3(bool? Function() other) {
if (this == false) {
return false;
}
final otherValue = other();
if (otherValue == false) {
return false;
}
return this == null || otherValue == null ? null : true;
}