File tree 1 file changed +5
-5
lines changed
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'`).
52
52
53
53
[ null-aware elements ] : https://github.com/dart-lang/language/issues/323
54
54
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:
60
60
61
61
``` dart
62
62
String? lunch = isTuesday ? 'tacos!' : null;
You can’t perform that action at this time.
0 commit comments