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