This commit is contained in:
2026-07-12 04:33:48 +08:00
parent f8a90ad305
commit e7ce0f7bae
151 changed files with 2765 additions and 2947 deletions

View File

@@ -4,10 +4,10 @@ import 'package:redux/redux.dart';
import '../actions.dart';
final cartInfoReducer = combineReducers<List<CartInfo>>([
TypedReducer<List<CartInfo>, UpdateCartInfo>(_updateCartInfo)
final cartInfoReducer = combineReducers<List<CartInfo>?>([
TypedReducer<List<CartInfo>?, UpdateCartInfo>(_updateCartInfo)
]);
List<CartInfo> _updateCartInfo(List<CartInfo> cartInfos, action) {
List<CartInfo> _updateCartInfo(List<CartInfo>? cartInfos, action) {
return action.cartInfos;
}