chore(shopinbit): clean up merge lints
What changed, and why it matters
This is a routine code cleanup commit. It removes one unused import and fixes a Dart lint warning by replacing an unnecessary null-assertion operator with a direct property access. There is no security-relevant change.
No security action required. Treat as normal maintenance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit makes two non-functional changes in the shopinbit feature: (1) removes an unused import of src/models/car_research.dart from shopinbit_service.dart; (2) in shopinbit_shipping_view.dart, changes thisTicket!.customerKey to thisTicket.customerKey, indicating the variable is now non-nullable in this scope and the null-assertion operator is no longer needed. Both changes are consistent with lint cleanup after a merge.
Changed components
lib/pages/shopinbit/shopinbit_shipping_view.dartlib/services/shopinbit/shopinbit_service.dartInspect captured patch +1 / −2
diff --git a/lib/pages/shopinbit/shopinbit_shipping_view.dart b/lib/pages/shopinbit/shopinbit_shipping_view.dart
index 2c95511..ef560cf 100644
--- a/lib/pages/shopinbit/shopinbit_shipping_view.dart
+++ b/lib/pages/shopinbit/shopinbit_shipping_view.dart
@@ -227,7 +227,7 @@ class _ShopInBitShippingViewState extends ConsumerState<ShopInBitShippingView> {
paymentInfo = await fetchShopInBitPaymentInfo(
ref.read(pShopinBitService).client,
widget.apiTicketId,
- thisTicket!.customerKey,
+ thisTicket.customerKey,
);
} catch (e, s) {
Logging.instance.e("submitAddress threw", error: e, stackTrace: s);
diff --git a/lib/services/shopinbit/shopinbit_service.dart b/lib/services/shopinbit/shopinbit_service.dart
index e7b4c42..b40c1b3 100644
--- a/lib/services/shopinbit/shopinbit_service.dart
+++ b/lib/services/shopinbit/shopinbit_service.dart
@@ -7,7 +7,6 @@ import "../../models/shopinbit/shopinbit_enums.dart";
import "../../utilities/logger.dart";
import "src/api_response.dart";
import "src/client.dart";
-import "src/models/car_research.dart";
import "src/models/message.dart";
import "src/models/ticket.dart";
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.