updateGroupStreams method

dynamic updateGroupStreams(
  1. AtGroup group, {
  2. int? expandIndex,
  3. bool expandGroup = false,
})

Implementation

updateGroupStreams(AtGroup group,
    {int? expandIndex, bool expandGroup = false}) async {
  var groupDetail = await (getGroupDetail(group.groupId!));
  if (groupDetail is AtGroup) groupViewSink.add(groupDetail);
  await getAllGroupsDetails(
      expandIndex: expandIndex, expandGroup: expandGroup ? group : null);
}