This commit is contained in:
tzw
2024-02-05 11:19:51 +06:30
5 changed files with 32 additions and 13 deletions

View File

@@ -33,8 +33,8 @@ class CargoType {
calWeight: map['cal_weight']?.toDouble() ?? 0,
calRate: map['cal_rate']?.toDouble() ?? 0,
isCutomDuty: map['custom_duty'] ?? false,
customDutyFee: (map['custom_duty_fee'] ?? 0).toDouble(),
qty: (map['qty'] ?? 0).toInt());
customDutyFee: (map['custom_duty_fee'] ?? 0).toDouble());
//qty: (map['qty'] ?? 0).toInt());
}
Map<String, dynamic> toMap() {