followRequestsDashboardRepository method

  1. @override
FollowRequestsDashboardRepository? followRequestsDashboardRepository(
  1. String? appId
)
override

Implementation

@override
FollowRequestsDashboardRepository? followRequestsDashboardRepository(
    String? appId) {
  if ((appId != null) &&
      (_followRequestsDashboardRepository[appId] == null)) {
    _followRequestsDashboardRepository[appId] = FollowRequestsDashboardCache(
        FollowRequestsDashboardFirestore(
            () => appRepository()!
                .getSubCollection(appId, 'followrequestsdashboard'),
            appId));
  }
  return _followRequestsDashboardRepository[appId];
}