core.Map<core.String, core.dynamic> toJson() => { if (assignedInventorySources != null) 'assignedInventorySources': assignedInventorySources!, };