Why this matters
When defining a function with unused parameters, use `_` or `__` to indicate they are intentionally unused. This avoids confusion and prevents unnecessary warnings.
Check for functions with unused parameters and ensure they are titled with `_` or `__` to indicate they are intentionally unused.
When defining a function with unused parameters, use `_` or `__` to indicate they are intentionally unused. This avoids confusion and prevents unnecessary warnings.
Side-by-side examples engineers can pattern-match during review.
// (no example provided)futureOfVoid.then((_) {
print('Operation complete.');
});futureOfVoid.then((_) {
print('Operation complete.');
});From the same buckets as this rule.