isUpToDate property

bool isUpToDate

Flag which indicates if ChannelClientState contain latest/recent messages or not.

This flag should be managed by UI sdks.

When false, any new message received by WebSocket event EventType.messageNew will not be pushed on to message list.

Implementation

bool get isUpToDate => _isUpToDateController.value;
void isUpToDate=(bool isUpToDate)

Implementation

set isUpToDate(bool isUpToDate) => _isUpToDateController.add(isUpToDate);