2024-05-18 10:17:16 +00:00
|
|
|
import 'package:get/get.dart';
|
|
|
|
import 'package:solian/services.dart';
|
|
|
|
|
|
|
|
class PostExploreProvider extends GetConnect {
|
|
|
|
@override
|
|
|
|
void onInit() {
|
|
|
|
httpClient.baseUrl = ServiceFinder.services['interactive'];
|
|
|
|
}
|
|
|
|
|
2024-05-19 10:01:00 +00:00
|
|
|
Future<Response> listPost(int page) => get('/api/feed?take=${10}&offset=$page');
|
2024-05-18 10:17:16 +00:00
|
|
|
}
|