chatMemberInfoRepository method
Implementation
@override
ChatMemberInfoRepository? chatMemberInfoRepository(
String? appId, String? roomId) {
var key = appId == null || roomId == null ? null : '$appId-$roomId';
if ((key != null) && (_chatMemberInfoRepository[key] == null)) {
_chatMemberInfoRepository[key] = ChatMemberInfoCache(
ChatMemberInfoFirestore(
() => roomRepository(appId)!
.getSubCollection(roomId!, 'chatmemberinfo'),
appId!));
}
return _chatMemberInfoRepository[key];
}