toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (crowdingCount != null) 'crowdingCount': crowdingCount!,
      if (dataFormat != null) 'dataFormat': dataFormat!,
      if (neighborCount != null) 'neighborCount': neighborCount!,
      if (restrictions != null) 'restrictions': restrictions!,
      if (returnEmbeddings != null) 'returnEmbeddings': returnEmbeddings!,
    };