Data model representing an order, with serialization and stock adjustment logic.
// Source: https://github.com/evan361425/flutter-pos-system | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works // Provided via justclaw.it.com; keep this notice with the code. import 'dart:convert'; import 'dart:math'; import 'package:intl/intl.dart'; import 'package:possystem/components/models/order_attribute_value_widget.dart'; import 'package:possystem/helpers/util.dart'; import 'package:possystem/models/menu/product_ingredient.dart'; import 'package:possystem/models/objects/order_attribute_object.dart'; import 'package:possystem/models/order/cart_product.dart'; import 'package:possystem/models/order/order_attribute_option.dart'; import 'package:possystem/models/repository/menu.dart'; import 'package:possystem/models/repository/seller.dart'; i ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key