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