Prepare for Dart 3.0 api removals (#1812) Fixes #1811 I also pre-emptively bumped our dep on matcher, which I think should be fine, but please push back if you disagree. Moves all null safety related tests into a legacy_tests directory.