followingRepository method

  1. @override
FollowingRepository? followingRepository(
  1. String? appId
)
override

Implementation

@override
FollowingRepository? followingRepository(String? appId) {
  if ((appId != null) && (_followingRepository[appId] == null)) {
    _followingRepository[appId] = FollowingCache(FollowingFirestore(
        () => appRepository()!.getSubCollection(appId, 'following'), appId));
  }
  return _followingRepository[appId];
}