build modeling and params

This commit is contained in:
Rafeek-Khoudare
2025-07-07 15:38:52 +03:00
parent 1a3dc60bd2
commit f89660a9ff
4 changed files with 103 additions and 0 deletions

View File

@ -0,0 +1,10 @@
class BookableSpacesParams {
int currentPage;
BookableSpacesParams({
required this.currentPage,
});
Map<String, dynamic> toJson() => {
'page': currentPage,
};
}

View File

@ -0,0 +1,12 @@
class NonBookableSpacesParams {
int currentPage;
String? searchedWords;
NonBookableSpacesParams({
required this.currentPage,
this.searchedWords,
});
Map<String, dynamic> toJson() => {
'page': currentPage,
};
}