# decoratedContentRepository method Null safety

1. @override

DecoratedContentRepository? decoratedContentRepository(

1. String? appId

)
override

## Implementation

    @override
    DecoratedContentRepository? decoratedContentRepository(String? appId) {
      if ((appId != null) && (_decoratedContentRepository[appId] == null)) {
        _decoratedContentRepository[appId] = DecoratedContentCache(
            DecoratedContentFirestore(
                () =>
                    appRepository()!.getSubCollection(appId, 'decoratedcontent'),
                appId));
      }
      return _decoratedContentRepository[appId];
    }