Pagination constructor
Pagination({
- List<
Pointer?> ? items = const [], - int? offset,
- int? total,
- int? size,
- PaginationPage? first,
- PaginationPage? current,
- PaginationPage? previous,
- PaginationPage? next,
- PaginationPage? last,
- List<
PaginationPage?> ? pages = const [], - bool? enabled,
- Map<
String, Link?> links = const {}, - ComponentMeta? meta,
- required ElementTypeEnum? type,
Returns a new Pagination instance.
Implementation
Pagination({
this.items = const [],
this.offset,
this.total,
this.size,
this.first,
this.current,
this.previous,
this.next,
this.last,
this.pages = const [],
this.enabled,
Map<String, Link?> links = const {},
ComponentMeta? meta,
required ElementTypeEnum? type,
}) : super(type: type, links: links, meta: meta);