toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (distanceMeasure != null) 'distanceMeasure': distanceMeasure!,
      if (limit != null) 'limit': limit!,
      if (queryVector != null) 'queryVector': queryVector!,
      if (vectorField != null) 'vectorField': vectorField!,
    };