map<TOther> method

  1. @override
SearchResult<TOther> map<TOther>(
  1. MeilisearchDocumentMapper<T, TOther> mapper
)
override

Implementation

@override
SearchResult<TOther> map<TOther>(
  MeilisearchDocumentMapper<T, TOther> mapper,
) =>
    SearchResult<TOther>(
      src: src,
      facetStats: facetStats,
      vector: vector,
      indexUid: indexUid,
      facetDistribution: facetDistribution,
      hits: hits.map(mapper).toList(),
      estimatedTotalHits: estimatedTotalHits,
      limit: limit,
      offset: offset,
      processingTimeMs: processingTimeMs,
      query: query,
    );