toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (boostAction != null) 'boostAction': boostAction!,
      if (condition != null) 'condition': condition!,
      if (doNotAssociateAction != null)
        'doNotAssociateAction': doNotAssociateAction!,
      if (filterAction != null) 'filterAction': filterAction!,
      if (forceReturnFacetAction != null)
        'forceReturnFacetAction': forceReturnFacetAction!,
      if (ignoreAction != null) 'ignoreAction': ignoreAction!,
      if (onewaySynonymsAction != null)
        'onewaySynonymsAction': onewaySynonymsAction!,
      if (redirectAction != null) 'redirectAction': redirectAction!,
      if (removeFacetAction != null) 'removeFacetAction': removeFacetAction!,
      if (replacementAction != null) 'replacementAction': replacementAction!,
      if (twowaySynonymsAction != null)
        'twowaySynonymsAction': twowaySynonymsAction!,
    };