toNextPage method Null safety

void toNextPage()

Implementation

void toNextPage() => _pageNumber++;