addStatusListener method
Calls listener every time the status of the pagination changes.
Listeners can be removed with removeStatusListener.
Implementation
void addStatusListener(PagingStatusListener listener) {
assert(_debugAssertNotDisposed());
_statusListeners!.add(listener);
}