simpleTextRepository method

  1. @override
SimpleTextRepository? simpleTextRepository(
  1. String? appId
)
override

Implementation

@override
SimpleTextRepository? simpleTextRepository(String? appId) {
  if ((appId != null) && (_simpleTextRepository[appId] == null)) {
    _simpleTextRepository[appId] = SimpleTextCache(SimpleTextFirestore(
        () => appRepository()!.getSubCollection(appId, 'simpletext'), appId));
  }
  return _simpleTextRepository[appId];
}