shopRepository method

  1. @override
ShopRepository? shopRepository(
  1. String? appId
)
override

Implementation

@override
ShopRepository? shopRepository(String? appId) {
  if ((appId != null) && (_shopRepository[appId] == null)) {
    _shopRepository[appId] = ShopCache(ShopFirestore(
        () => appRepository()!.getSubCollection(appId, 'shop'), appId));
  }
  return _shopRepository[appId];
}