toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (bruteForceConfig != null) 'bruteForceConfig': bruteForceConfig!,
      if (crowdingColumn != null) 'crowdingColumn': crowdingColumn!,
      if (distanceMeasureType != null)
        'distanceMeasureType': distanceMeasureType!,
      if (embeddingColumn != null) 'embeddingColumn': embeddingColumn!,
      if (embeddingDimension != null)
        'embeddingDimension': embeddingDimension!,
      if (filterColumns != null) 'filterColumns': filterColumns!,
      if (treeAhConfig != null) 'treeAhConfig': treeAhConfig!,
    };