Update collection-fors to prefer final (as per updated prefer_final_in_for_each) (#127511)
The newly updated lint will soon flag for-each in collections. See discussion: https://github.com/dart-lang/linter/pull/4383 /cc @goderbauer
This commit is contained in:
@@ -433,7 +433,7 @@ class VMServiceFlutterDriver extends FlutterDriver {
|
||||
} while (currentStart < endTime!);
|
||||
return Timeline.fromJson(<String, Object>{
|
||||
'traceEvents': <Object?> [
|
||||
for (Map<String, Object?>? chunk in chunks)
|
||||
for (final Map<String, Object?>? chunk in chunks)
|
||||
...chunk!['traceEvents']! as List<Object?>,
|
||||
],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user