add missing trailing commas in list/set/map literals (#102585)

This commit is contained in:
Alexandre Ardhuin
2022-04-27 09:15:35 +02:00
committed by GitHub
parent 0b80f08cf0
commit 07f1c20474
271 changed files with 1236 additions and 1141 deletions

View File

@@ -50,7 +50,7 @@ class ABTest {
final Map<String, dynamic> resultMap = results as Map<String, dynamic>;
return <String, List<double>> {
for (String key in resultMap.keys)
key: (resultMap[key] as List<dynamic>).cast<double>()
key: (resultMap[key] as List<dynamic>).cast<double>(),
};
}
@@ -153,13 +153,13 @@ class ABTest {
'Score',
'Average A', '(noise)',
'Average B', '(noise)',
'Speed-up'
'Speed-up',
];
final List<FieldJustification> alignments = <FieldJustification>[
FieldJustification.LEFT,
FieldJustification.RIGHT, FieldJustification.LEFT,
FieldJustification.RIGHT, FieldJustification.LEFT,
FieldJustification.CENTER
FieldJustification.CENTER,
];
final List<int> lengths = List<int>.filled(6, 0);