Add lints from package:pedantic (dart-lang/watcher#66)

- Fix a control_flow_in_finally by removing the nested try/catch which
  was set up for ordering of behavior and instead check for a closed
  controller in both places.
- Fix a prefer_is_not_empty.
4 files changed
tree: 02522df1d564b8b25637b47a0ae1264201f04d91
  1. pkgs/