| commit | bc01cd9f5ff0c2e231b169d833fb08140988226c | [log] [tgz] |
|---|---|---|
| author | Nate Bosch <nbosch@google.com> | Fri Oct 18 17:19:17 2024 -0700 |
| committer | GitHub <noreply@github.com> | Fri Oct 18 17:19:17 2024 -0700 |
| tree | 48e529fe549eceb4e456853027e0e575969779fe | |
| parent | 28e800633dd1550e45944a3445db3239920bc1f5 [diff] |
Add a shared ignoreArgument callback (dart-lang/stream_transform#190) Add a `common_callbacks.dart` library with a single top level function `ignoreArgument` which takes a single `dynamic` argument and does nothing. Replace all `(_) => null` function literals, as well as a few library-private functions with unnecessarily specific signatures, with the shared definition. As suggested in dart-lang/stream_transform#188