Document null-aware elements #6458
Labels
a.language
Relates to the Dart language tour
d.enhancement
Improves docs with specific ask
e2-days
Can complete in < 5 days of normal, not dedicated, work
from.team
Reported by Dash docs team member
p.collections
p2-medium
Necessary but not urgent concern. Resolve when possible.
t.flutter
Relates to the Flutter framework
Milestone
Page to update
https://dart.dev/language/collections#operators
Notes
Feature specification: https://github.com/dart-lang/language/blob/main/accepted/future-releases/0323-null-aware-elements/feature-specification.md
[From @antfitch]
Do we have a conditional expression section? This is normally where I would look to find documentation for
if
andcase
expressions. To me, it looks like we are adding conditional expression that is a shortcut for anif
expression? If this is true, is it a shortcut for any other types of expressions? Isnull-aware
an expression? I'm curious as to why we call this an element. @munificent can you provide guidance?After a chat with @munificent, it looks like we should add documentation for this in https://dart.dev/language/collections. Right now we have an H2 called Operators, which where this should live, but we should also re-name this section to make it clear that
Operators
isn't a type of collection.Suggested new right-pane TOC:
References
Python conditional expressions:
https://docs.python.org/3/reference/expressions.html#conditional-expressions
The text was updated successfully, but these errors were encountered: