shopFrontRepository method

  1. @override
ShopFrontRepository? shopFrontRepository(
  1. String? appId
)
override

Implementation

@override
ShopFrontRepository? shopFrontRepository(String? appId) {
  if ((appId != null) && (_shopFrontRepository[appId] == null)) {
    _shopFrontRepository[appId] = ShopFrontCache(ShopFrontFirestore(
        () => appRepository()!.getSubCollection(appId, 'shopfront'), appId));
  }
  return _shopFrontRepository[appId];
}