initScreen method

dynamic initScreen({
  1. int? storeId,
})

Implementation

initScreen({int? storeId}) async {
  isLoading = true;
  update();
  await Future.wait([listAddress(storeId: storeId), storeResp()]);

  setSelectedAddressId(selectedAddressId.value);
  isLoading = false;
  update();
}