// GENERATED CODE - DO NOT MODIFY BY HAND part of 'cart_store.dart'; // ************************************************************************** // StoreGenerator // ************************************************************************** // ignore_for_file: non_constant_identifier_names, unnecessary_brace_in_string_interps, unnecessary_lambdas, prefer_expression_function_bodies, lines_longer_than_80_chars, avoid_as, avoid_annotating_with_dynamic mixin _$CartStore on _CartStore, Store { Computed>? _$cartComputed; @override ObservableList get cart => (_$cartComputed ??= Computed>(() => super.cart, name: '_CartStore.cart')) .value; Computed? _$numberOfItemsComputed; @override int get numberOfItems => (_$numberOfItemsComputed ??= Computed(() => super.numberOfItems, name: '_CartStore.numberOfItems')) .value; Computed? _$totalPriceComputed; @override double get totalPrice => (_$totalPriceComputed ??= Computed(() => super.totalPrice, name: '_CartStore.totalPrice')) .value; final _$_productQuantitiesAtom = Atom(name: '_CartStore._productQuantities'); @override ObservableMap get _productQuantities { _$_productQuantitiesAtom.reportRead(); return super._productQuantities; } @override set _productQuantities(ObservableMap value) { _$_productQuantitiesAtom.reportWrite(value, super._productQuantities, () { super._productQuantities = value; }); } final _$_CartStoreActionController = ActionController(name: '_CartStore'); @override void _changeAmountOfProduct(Product product, int amount) { final _$actionInfo = _$_CartStoreActionController.startAction( name: '_CartStore._changeAmountOfProduct'); try { return super._changeAmountOfProduct(product, amount); } finally { _$_CartStoreActionController.endAction(_$actionInfo); } } @override String toString() { return ''' cart: ${cart}, numberOfItems: ${numberOfItems}, totalPrice: ${totalPrice} '''; } }