getCartList method
Implementation
Future getCartList({Pincode, context}) async {
final response = await http.get(
headers: {'Authorization': SignUpController.currentUserToken},
Uri.parse('${SDK_BASE_URL}medicine_api/cart/list/${Pincode}'),
);
var decodedResponse = json.decode(response.body);
getDataFromCartManager = await decodedResponse;
}