image method
Implementation
Future<SearchEnvelope<ImageResult>> image(String query,
{Order? sort, int? page, int? size}) async {
return ApiFactory.handleApiError(() async {
final response = await _dio.get("/v2/search/image",
queryParameters: _getParams(query, sort, page, size));
return SearchEnvelope<ImageResult>.fromJson(response.data);
});
}