This method is used to check if there is any previous messages.
Future<bool> hasPreviousMessages() { throw UnimplementedError('hasPreviousMessages has not been implemented.'); }