PaginationState constructor

const PaginationState({
  1. @Default.new(1) int currentPage,
  2. @Default.new(50) int pageSize,
  3. @Default.new(false) bool enabled,
  4. @Default.new(false) bool serverSide,
})

Implementation

const factory PaginationState({
  @Default(1) int currentPage,
  @Default(50) int pageSize,
  @Default(false) bool enabled,
  @Default(false) bool serverSide,
}) = _PaginationState;