From b997980f1c4eb7cb62b43ff68481384a6ba7ffa0 Mon Sep 17 00:00:00 2001 From: pahmiudahgede Date: Tue, 27 May 2025 01:37:50 +0700 Subject: [PATCH] refact:modified adding debugPrint in response(data) --- lib/features/cart/service/cartitem_service.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/features/cart/service/cartitem_service.dart b/lib/features/cart/service/cartitem_service.dart index 09c462f..df51144 100644 --- a/lib/features/cart/service/cartitem_service.dart +++ b/lib/features/cart/service/cartitem_service.dart @@ -1,3 +1,4 @@ +import 'package:flutter/material.dart'; import 'package:rijig_mobile/core/api/api_services.dart'; import 'package:rijig_mobile/features/cart/model/cartitem_model.dart'; @@ -12,6 +13,7 @@ class CartService { Future getCart() async { final response = await _https.get("/cart"); + debugPrint(response); return CartResponse.fromJson(response['data']); }