Map<String, dynamic> toMap() { return SearchResultHitMapper.ensureInitialized() .encodeMap<SearchResultHit>(this as SearchResultHit); }