toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (queryTerms != null) 'queryTerms': queryTerms!,
      if (replacementTerm != null) 'replacementTerm': replacementTerm!,
      if (term != null) 'term': term!,
    };