refreshRelations static method
Implementation
static Future<PayConfirmationModel> refreshRelations(
PayConfirmationModel model) async {
ShopModel? shopHolder;
if (model.shop != null) {
try {
await shopRepository(appId: model.appId)!
.get(model.shop!.documentID)
.then((val) {
shopHolder = val;
}).catchError((error) {});
} catch (_) {}
}
return model.copyWith(
shop: shopHolder,
);
}