xxxxxxxxxx
void main(){
// In this we have defined the value of variable b.
var b = "This will be output";
String a = b ?? 'this will not be output';
print(a);
// In this we have not defined the value of variable c.
var c;
String d = c ?? 'this will be output';
print(d);
}