albumRepository method

  1. @override
AlbumRepository? albumRepository(
  1. String? appId
)
override

Implementation

@override
AlbumRepository? albumRepository(String? appId) {
  if ((appId != null) && (_albumRepository[appId] == null)) {
    _albumRepository[appId] = AlbumCache(AlbumFirestore(
        () => appRepository()!.getSubCollection(appId, 'album'), appId));
  }
  return _albumRepository[appId];
}