appReducer function
Implementation
AppState appReducer(AppState state, dynamic action) {
return AppState(
chatState: chatReducer(state.chatState, action),
permissionState: icPermissionReducer(state.permissionState, action),
tracking:trackingReducer(state.tracking, action),
notificationState: notificationReducer(state.notificationState, action),
authState: authReducer(state.authState, action)
);
}