1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-11 07:18:15 +00:00

Analysis options, fixes, and formatting (#110)

This commit is contained in:
Brett Morgan
2019-07-04 15:41:59 +10:00
committed by GitHub
parent d4997f6562
commit 90ecd8df25
11 changed files with 90 additions and 53 deletions

View File

@@ -287,7 +287,7 @@ class ProductsRepository {
if (category == Category.all) {
return allProducts;
} else {
return allProducts.where((Product p) => p.category == category).toList();
return allProducts.where((p) => p.category == category).toList();
}
}
}