PaginationResponse constructor

PaginationResponse({
  1. Int64? totalResult,
  2. Int64? appliedLimit,
})

Implementation

factory PaginationResponse({
  $fixnum.Int64? totalResult,
  $fixnum.Int64? appliedLimit,
}) {
  final result = create();
  if (totalResult != null) result.totalResult = totalResult;
  if (appliedLimit != null) result.appliedLimit = appliedLimit;
  return result;
}