cleanup code
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user