void main() {
print("Conditional Operators:");
// small if else
var a1 = 100;
var b2 = 20;
var istrue = (a1 < b2) ? 'True' : 'False';
print(istrue);
// check if null or print name
var name1;
var check = name1 ?? "This is Null";
print(check);
var name = "Abdulelah";
var checknot = name ?? "This is Null";
print(name);
}
I don't how i fix this problem in line 16 yellow error said:
The left operand can't be null, so the right operand is never executed. Try removing the operator and the right operand.dartdead_null_aware_expression