Map<String, dynamic> toMap() { return <String, dynamic>{ 'queryTerms': queryTerms, 'replacementTerm': replacementTerm, 'term': term, }; }