totalPages property

int get totalPages

Implementation

int get totalPages => total == 0 ? 0 : (total + limit - 1) ~/ limit;