profileRepository method

  1. @override
ProfileRepository? profileRepository(
  1. String? appId
)
override

Implementation

@override
ProfileRepository? profileRepository(String? appId) {
  if ((appId != null) && (_profileRepository[appId] == null)) {
    _profileRepository[appId] = ProfileCache(ProfileFirestore(
        () => appRepository()!.getSubCollection(appId, 'profile'), appId));
  }
  return _profileRepository[appId];
}