keywordPostings method

List<MapEntry<String, double>> keywordPostings(
  1. String keyword
)

Returns the list of all the entries for the keyword from the KeywordPostingsMap.

Implementation

List<MapEntry<String, double>> keywordPostings(String keyword) =>
    this[keyword]?.entries.toList() ?? [];