getNewNovels method
获取最近发布的小说
Implementation
Future<Novels> getNewNovels({
required CancelToken cancelToken,
}) async {
final response = await _httpClient.get<String>(
'/v1/novel/new',
cancelToken: cancelToken,
);
final data = Novels.fromJson(jsonDecode(response.data!));
return data;
}