class StoreRepository { StoreRepository._(); factory StoreRepository() { return storeRepository; } // Future storeIndex() { // return atmobApi // .storeIndex(AppBaseRequest()) // .then(HttpHandler.handle(false)); // } // // Future orderPay( // int itemId, int payPlatform, int payMethod) { // return atmobApi // .orderPay(OrderPayRequest(itemId, payPlatform, payMethod)) // .then(HttpHandler.handle(false)); // } // // Future orderStatus(String outTradeNo, {String? receiptData}) { // return atmobApi // .orderStatus(OrderStatusRequest(outTradeNo, receiptData)) // .then(HttpHandler.handle(false)) // .then((data) { // return data.payStatus; // }); // } } final StoreRepository storeRepository = StoreRepository._();