String? foo = null; print(foo ?? " its empty");//output: ' its empty' foo = "foo"; print(foo ?? " its empty");//output: "foo"