Added sorting options

This commit is contained in:
Juan Gilsanz Polo
2024-03-03 17:27:16 +01:00
parent e87d2f58cf
commit 3f02dfc950
13 changed files with 155 additions and 13 deletions

View File

@@ -52,6 +52,7 @@ class ApiClientService {
int? limit,
int? offset,
ReadStatus? unread,
String? sort,
}) async {
try {
final response = await dioInstance.get(
@@ -65,6 +66,7 @@ class ApiClientService {
: unread == ReadStatus.read
? "no"
: null,
"sort": sort,
},
);
return ApiResponse(