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:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user