File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -52,11 +52,11 @@ or greater (`sdk: '^3.8.0'`).
5252
5353[ null-aware elements ] : https://github.com/dart-lang/language/issues/323
5454
55- The null -aware elements make it easier to omit a value from a collection literal
56- if it's ` null ` . The syntax works in list literals, set literals, and map
57- literals. For map literals, both null-aware keys and values are supported. Here
58- is an example a list literal written in both styles, without the null-aware
59- elements language feature and with it:
55+ Null -aware elements make it easier to omit a value from a collection literal if
56+ it's ` null ` . The syntax works in list literals, set literals, and map literals.
57+ For map literals, both null-aware keys and values are supported. Here is an
58+ example a list literal written in both styles, without the null-aware elements
59+ language feature and with it:
6060
6161``` dart
6262String? lunch = isTuesday ? 'tacos!' : null;
You can’t perform that action at this time.
0 commit comments