a0d6b2daed
- change forEachIndexed to `.indexed` - remove `package:collection` imports for files only using `.firstOrNull`, `.singleOrNull`, `.lastOrNull` that is now available in `dart:core` - switch from `Pair` to records - use switch expressions Change-Id: Id1ae22db427b4cd955f26e0d6c852944a540a05f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/298061 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>