membershipDashboardRepository method

  1. @override
MembershipDashboardRepository? membershipDashboardRepository(
  1. String? appId
)
override

Implementation

@override
MembershipDashboardRepository? membershipDashboardRepository(String? appId) {
  if ((appId != null) && (_membershipDashboardRepository[appId] == null)) {
    _membershipDashboardRepository[appId] = MembershipDashboardCache(
        MembershipDashboardFirestore(
            () => appRepository()!
                .getSubCollection(appId, 'membershipdashboard'),
            appId));
  }
  return _membershipDashboardRepository[appId];
}