ReducingChatClient constructor

ReducingChatClient(
  1. ChatClient innerClient, {
  2. required ChatReducer reducer,
})

Creates a new ReducingChatClient.

innerClient is the underlying client to delegate to. reducer is the ChatReducer used to reduce messages.

Implementation

ReducingChatClient(
  super.innerClient, {
  required this.reducer,
});