map<TOther extends Object> method

MeiliDocumentContainer<TOther> map<TOther extends Object>(
  1. MeilisearchDocumentMapper<T, TOther> mapper
)

Implementation

MeiliDocumentContainer<TOther> map<TOther extends Object>(
  MeilisearchDocumentMapper<T, TOther> mapper,
) {
  return MeiliDocumentContainer._(
      src: src,
      parsed: mapper(parsed),
      formatted: formatted,
      vectors: vectors,
      semanticScore: semanticScore,
      rankingScore: rankingScore,
      rankingScoreDetails: rankingScoreDetails,
      matchesPosition: matchesPosition);
}