removeLast abstract method

Future<ChatMessage> removeLast()

Removes and returns the last (newest) element of the history.

The history must not be empty when this method is called.

Implementation

Future<ChatMessage> removeLast();