phase3: nullable fields/methods, casts, ?.call, pinput/YoutubePlayer v5, buttonColor, dead-code removal. 72->16
This commit is contained in:
@@ -286,7 +286,7 @@ class ShopState extends State<Shop> {
|
||||
if (_categoryProducts[i].id == currentCategoryId) {
|
||||
try {
|
||||
CategoryProducts cps = _categoryProducts[i + 1];
|
||||
return cps.id;
|
||||
return cps.id!;
|
||||
} catch (error) {
|
||||
print('Error $error');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user