appReducer function

AppState appReducer(
  1. AppState state,
  2. dynamic action
)

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)
  );
}