null safety
This commit is contained in:
@@ -39,8 +39,8 @@ class _InvoiceInfoState extends State<InvoiceInfo> {
|
||||
void initState() {
|
||||
super.initState();
|
||||
_invoice = widget.invoice!;
|
||||
_invoice!.shipments.forEach((s) {
|
||||
s.isSelected = true;
|
||||
_invoice!.shipments!.forEach((s) {
|
||||
s!.isSelected = true;
|
||||
});
|
||||
_loadCartons();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user