toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (embedding != null) 'embedding': embedding!,
      if (entityId != null) 'entityId': entityId!,
      if (neighborCount != null) 'neighborCount': neighborCount!,
      if (parameters != null) 'parameters': parameters!,
      if (perCrowdingAttributeNeighborCount != null)
        'perCrowdingAttributeNeighborCount':
            perCrowdingAttributeNeighborCount!,
      if (stringFilters != null) 'stringFilters': stringFilters!,
    };