resetdata method

dynamic resetdata()

Implementation

resetdata() {
  productDataList = <ProductContentModel>[].obs;
  productDataScannedList = <ProductContentModel>[].obs;
  searchedScannedList = <ProductContentModel>[].obs;
  currentProduct = ProductContentModel();
  sellThruOrder = SellThruProductDataModel().obs;
  usedCreditBalance = 0.0.obs;
  availableCreditBalance = 0.0.obs;
  totalCreditBalance = 0.0.obs;
  percentageCreditBalance = 0.0.obs;
  selectedScanType = "Single".obs;
  selectedProduct = CollectStockCardModel().obs;
  partnerIds = [""];
  userId = "";
  partnerIdLogin = "";
  cartId = "";
  discountId = "".obs;
  discountList = <cart.CartDiscountsList>[].obs;
  scannedIccidList = <String>[].obs;
  scannedIccidListforProduct = <SingleScannedModel>[].obs;
  selectedGrnOrder = Content().obs;
  currentScan = ScanType.collectStock;
  title = "collectStock";
}