?. stops at the first null and ?: supplies the fallback, replacing a stack of if statements.
Tag
Snippets tagged null-safety
Turning the feature on makes the compiler point at every place a null could slip through.
Snippets tagged null-safety
?. stops at the first null and ?: supplies the fallback, replacing a stack of if statements.
Turning the feature on makes the compiler point at every place a null could slip through.