mirror of
https://github.com/openfoodfacts/smooth-app.git
synced 2025-08-06 18:25:11 +08:00
chore: Migration to Dart 3.8 (#6668)
* Migration to Dart 3.8 * New GA * Fix dartdoc
This commit is contained in:
@ -42,9 +42,7 @@ class LocationQueryModel with ChangeNotifier {
|
||||
|
||||
final Set<String> _locationKeys = <String>{};
|
||||
|
||||
Future<void> _process(
|
||||
final List<OsmLocation> locations,
|
||||
) async {
|
||||
Future<void> _process(final List<OsmLocation> locations) async {
|
||||
for (final OsmLocation location in locations) {
|
||||
final String primaryKey = location.primaryKey;
|
||||
if (_locationKeys.contains(primaryKey)) {
|
||||
|
Reference in New Issue
Block a user