MBPaginatedResponse<T> constructor

MBPaginatedResponse<T>({
  1. required int from,
  2. required int to,
  3. required int total,
  4. required List<T> items,
})

Initializes a paginated response, with the items and information about pagination.

Implementation

MBPaginatedResponse({
  required this.from,
  required this.to,
  required this.total,
  required this.items,
});