PaginationResponseDto class

Annotations
  • @freezed

Constructors

PaginationResponseDto.new({required int count, required int page, required int outset, required int items, required int last, required int pages, required int offset, required int from, required int to, required int? prev, required int? next})
const
factory
PaginationResponseDto.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $PaginationResponseDtoCopyWith<PaginationResponseDto>
Create a copy of PaginationResponseDto with the given fields replaced by the non-null parameter values.
no setterinherited
count int
no setterinherited
from int
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
items int
no setterinherited
last int
no setterinherited
next int?
no setterinherited
offset int
no setterinherited
outset int
no setterinherited
page int
no setterinherited
pages int
no setterinherited
prev int?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
to int
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this PaginationResponseDto to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited