tip method

Future<SearchEnvelope<Tip>> tip(
  1. String query, {
  2. Order? sort,
  3. int? page,
  4. int? size,
})

Implementation

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