memberHasChatRepository method

  1. @override
MemberHasChatRepository? memberHasChatRepository(
  1. String? appId
)
override

Implementation

@override
MemberHasChatRepository? memberHasChatRepository(String? appId) {
  if ((appId != null) && (_memberHasChatRepository[appId] == null)) {
    _memberHasChatRepository[appId] = MemberHasChatCache(
        MemberHasChatFirestore(
            () => appRepository()!.getSubCollection(appId, 'memberhaschat'),
            appId));
  }
  return _memberHasChatRepository[appId];
}