openForMembers method
Implementation
Widget openForMembers(
AppModel app,
String thisMemberId,
List<String> otherMemberIds,
MembersType membersType,
List<String> blockedMembers) {
return BlocProvider<ChatBloc>(
create: (context) => ChatBloc(
thisMemberId: thisMemberId,
appId: app.documentID,
blockedMembers: blockedMembers,
)..add(OpenChatWithMembersEvent(otherMemberIds)),
child: ChatWidget(
blockedMembers: blockedMembers,
app: app,
memberId: thisMemberId,
canAddMember: false,
membersType: membersType));
}