totalPages property

int get totalPages

Implementation

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