inviteDashboardRepository method

  1. @override
InviteDashboardRepository? inviteDashboardRepository(
  1. String? appId
)
override

Implementation

@override
InviteDashboardRepository? inviteDashboardRepository(String? appId) {
  if ((appId != null) && (_inviteDashboardRepository[appId] == null)) {
    _inviteDashboardRepository[appId] = InviteDashboardCache(
        InviteDashboardFirestore(
            () => appRepository()!.getSubCollection(appId, 'invitedashboard'),
            appId));
  }
  return _inviteDashboardRepository[appId];
}