Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import 'package:fcs/vo/cargo.dart';
|
||||
import 'package:fcs/vo/shipping_address.dart';
|
||||
import 'package.dart';
|
||||
|
||||
class Status {
|
||||
@@ -36,6 +37,8 @@ class Box {
|
||||
|
||||
List<Cargo> cargoTypes;
|
||||
|
||||
ShippingAddress shippingAddress;
|
||||
|
||||
int get amount => rate != null && weight != null ? rate * weight : 0;
|
||||
|
||||
String get packageNumber =>
|
||||
@@ -67,5 +70,6 @@ class Box {
|
||||
this.cargoDesc,
|
||||
this.statusHistory,
|
||||
this.packages,
|
||||
this.cargoTypes});
|
||||
this.cargoTypes,
|
||||
this.shippingAddress});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user