followRequestRepository method

  1. @override
FollowRequestRepository? followRequestRepository(
  1. String? appId
)
override

Implementation

@override
FollowRequestRepository? followRequestRepository(String? appId) {
  if ((appId != null) && (_followRequestRepository[appId] == null)) {
    _followRequestRepository[appId] = FollowRequestCache(
        FollowRequestFirestore(
            () => appRepository()!.getSubCollection(appId, 'followrequest'),
            appId));
  }
  return _followRequestRepository[appId];
}