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