factory PageInfo({ Cursor? cursor, required bool hasNextPage, required bool hasPreviousPage, }) = _PageInfo;