cleanup code

This commit is contained in:
tzw
2024-01-23 16:28:08 +06:30
parent a1e87cdbf6
commit f3f75a80c6
96 changed files with 232 additions and 439 deletions

View File

@@ -38,7 +38,7 @@ class Package {
//for packages in processing
List<File?> photoFiles;
int get amount => rate != null && weight != null ? rate * weight : 0;
int get amount => rate * weight;
double get price => rate.toDouble() * weight;