models/shopping_api_parse library

Functions

parseShoppingApiList<T>({required dynamic response, required String endpoint, required T decode(Map<String, dynamic> json)}) → List<T>
Decodes a JSON array from shopping endpoints with per-row error context.

Exceptions / Errors

ShoppingParseException
Thrown when a shopping API response cannot be decoded for the UI.