toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (crowdingTag != null) 'crowdingTag': crowdingTag!,
      if (datapointId != null) 'datapointId': datapointId!,
      if (featureVector != null) 'featureVector': featureVector!,
      if (numericRestricts != null) 'numericRestricts': numericRestricts!,
      if (restricts != null) 'restricts': restricts!,
      if (sparseEmbedding != null) 'sparseEmbedding': sparseEmbedding!,
    };