Changed paths:
M pkg/analysis_server/lib/src/services/correction/dart/add_async.dart
M pkg/analysis_server/lib/src/services/correction/dart/remove_async.dart
Log Message:
-----------
Simplify return type.
I was learning my way around the assist code and stumbled onto a couple
of things that could be simpler.
I'm guessing the original code was written at a point in time when the
`element` getter was nullable but it isn't now, so the refactored code
here should be behaviorally equivalent to the original.