addStreamsAllToStreamController method
dynamic
addStreamsAllToStreamController()
Using addStreamsAllToStreamController to add all streams to stream controller benefit to use stream controller we can call multiple listeners to listen.
Implementation
addStreamsAllToStreamController() {
_messageOnReceivedStreamController.addStream(messageOnReceivedChannel.receiveBroadcastStream());
messageStatusUpdateStreamController.addStream(messageStatusUpdatedChanel.receiveBroadcastStream());
mediaStatusUpdatedStreamController.addStream(mediaStatusUpdatedChannel.receiveBroadcastStream());
uploadDownloadProgressChangedStreamController.addStream(uploadDownloadProgressChangedChannel.receiveBroadcastStream());
showUpdateCancelNotificationStreamController.addStream(showUpdateCancelNotificationChannel.receiveBroadcastStream());
onGroupProfileFetchedStreamController.addStream(onGroupProfileFetchedChannel.receiveBroadcastStream() /*as Stream<String>*/);
onNewGroupCreatedStreamController.addStream(onNewGroupCreatedChannel.receiveBroadcastStream() /*as Stream<String>*/);
onGroupProfileUpdatedStreamController.addStream(onGroupProfileUpdatedChannel.receiveBroadcastStream() /*as Stream<String>*/);
onNewMemberAddedToGroupStreamController.addStream(onNewMemberAddedToGroupChannel.receiveBroadcastStream());
onMemberRemovedFromGroupStreamController.addStream(onMemberRemovedFromGroupChannel.receiveBroadcastStream());
onFetchingGroupMembersCompletedStreamController.addStream(onFetchingGroupMembersCompletedChannel.receiveBroadcastStream() /*as Stream<String>*/);
onDeleteGroupStreamController.addStream(onDeleteGroupChannel.receiveBroadcastStream());
onFetchingGroupListCompletedStreamController.addStream(onFetchingGroupListCompletedChannel.receiveBroadcastStream());
onMemberMadeAsAdminStreamController.addStream(onMemberMadeAsAdminChannel.receiveBroadcastStream());
onMemberRemovedAsAdminStreamController.addStream(onMemberRemovedAsAdminChannel.receiveBroadcastStream());
onLeftFromGroupStreamController.addStream(onLeftFromGroupChannel.receiveBroadcastStream());
onGroupNotificationMessageStreamController.addStream(onGroupNotificationMessageChannel.receiveBroadcastStream());
showOrUpdateOrCancelNotificationStreamController.addStream(showOrUpdateOrCancelNotificationChannel.receiveBroadcastStream());
onGroupDeletedLocallyStreamController.addStream(onGroupDeletedLocallyChannel.receiveBroadcastStream() /*as Stream<String>*/);
blockedThisUserStreamController.addStream(blockedThisUserChannel.receiveBroadcastStream());
myProfileUpdatedStreamController.addStream(myProfileUpdatedChannel.receiveBroadcastStream() /*as Stream<bool>*/);
onAdminBlockedOtherUserStreamController.addStream(onAdminBlockedOtherUserChannel.receiveBroadcastStream());
onAdminBlockedUserStreamController.addStream(onAdminBlockedUserChannel.receiveBroadcastStream());
onContactSyncCompleteStreamController.addStream(onContactSyncCompleteChannel.receiveBroadcastStream() /*as Stream<bool>*/);
onLoggedOutStreamController.addStream(onLoggedOutChannel.receiveBroadcastStream() /*as Stream<bool>*/);
unblockedThisUserStreamController.addStream(unblockedThisUserChannel.receiveBroadcastStream());
userBlockedMeStreamController.addStream(userBlockedMeChannel.receiveBroadcastStream());
userCameOnlineStreamController.addStream(userCameOnlineChannel.receiveBroadcastStream());
userDeletedHisProfileStreamController.addStream(userDeletedHisProfileChannel.receiveBroadcastStream() /*as Stream<String>*/);
userProfileFetchedStreamController.addStream(userProfileFetchedChannel.receiveBroadcastStream());
userUnBlockedMeStreamController.addStream(userUnBlockedMeChannel.receiveBroadcastStream());
userUpdatedHisProfileStreamController.addStream(userUpdatedHisProfileChannel.receiveBroadcastStream());
userWentOfflineStreamController.addStream(userWentOfflineChannel.receiveBroadcastStream());
usersIBlockedListFetchedStreamController.addStream(usersIBlockedListFetchedChannel.receiveBroadcastStream());
usersProfilesFetchedStreamController.addStream(usersProfilesFetchedChannel.receiveBroadcastStream() /*as Stream<bool>*/);
usersWhoBlockedMeListFetchedStreamController.addStream(usersWhoBlockedMeListFetchedChannel.receiveBroadcastStream());
onConnectedStreamController.addStream(onConnectedChannel.receiveBroadcastStream());
onDisconnectedStreamController.addStream(onDisconnectedChannel.receiveBroadcastStream());
onConnectionFailedStreamController.addStream(onConnectionFailedChannel.receiveBroadcastStream());
connectionFailedStreamController.addStream(connectionFailedChannel.receiveBroadcastStream());
connectionSuccessStreamController.addStream(connectionSuccessChannel.receiveBroadcastStream());
onWebChatPasswordChangedStreamController.addStream(onWebChatPasswordChangedChannel.receiveBroadcastStream());
setTypingStatusStreamController.addStream(setTypingStatusChannel.receiveBroadcastStream());
onChatTypingStatusStreamController.addStream(onChatTypingStatusChannel.receiveBroadcastStream());
onGroupTypingStatusStreamController.addStream(onGroupTypingStatusChannel.receiveBroadcastStream());
onFailureStreamController.addStream(onFailureChannel.receiveBroadcastStream());
onProgressChangedStreamController.addStream(onProgressChangedChannel.receiveBroadcastStream());
onSuccessStreamController.addStream(onSuccessChannel.receiveBroadcastStream());
// onCallReceivingStreamController.addStream(onCallReceivingChannel.receiveBroadcastStream());
onLocalVideoTrackAddedStreamController.addStream(onLocalVideoTrackAddedChannel.receiveBroadcastStream());
onRemoteVideoTrackAddedStreamController.addStream(onRemoteVideoTrackAddedChannel.receiveBroadcastStream());
onTrackAddedStreamController.addStream(onTrackAddedChannel.receiveBroadcastStream());
onCallStatusUpdatedStreamController.addStream(onCallStatusUpdatedChannel.receiveBroadcastStream());
onCallActionStreamController.addStream(onCallActionChannel.receiveBroadcastStream());
onMuteStatusUpdatedStreamController.addStream(onMuteStatusUpdatedChannel.receiveBroadcastStream());
onUserSpeakingStreamController.addStream(onUserSpeakingChannel.receiveBroadcastStream());
onUserStoppedSpeakingStreamController.addStream(onUserStoppedSpeakingChannel.receiveBroadcastStream());
onMissedCallStreamController.addStream(onMissedCallChannel.receiveBroadcastStream());
onAvailableFeaturesUpdatedStreamController.addStream(onAvailableFeaturesUpdatedChannel.receiveBroadcastStream());
onCallLogsUpdatedStreamController.addStream(onCallLogsUpdatedChannel.receiveBroadcastStream());
onCallLogsDeletedStreamController.addStream(onCallLogsDeletedChannel.receiveBroadcastStream());
}