fetchMoreMessage method
override
Implementation
@override
Future<void> fetchMoreMessage(
int pageSize,
String chatId,
) async {
var value = await chatOverviewService.getChatById(chatId);
_cumulativeMessages.clear();
if (value.messages != null) {
_cumulativeMessages.addAll(value.messages!);
}
_controller.add(_cumulativeMessages);
notifyListeners();
}