toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (id != null) 'id': id!,
      if (matchingVariantCount != null)
        'matchingVariantCount': matchingVariantCount!,
      if (matchingVariantFields != null)
        'matchingVariantFields': matchingVariantFields!,
      if (personalLabels != null) 'personalLabels': personalLabels!,
      if (product != null) 'product': product!,
      if (variantRollupValues != null)
        'variantRollupValues': variantRollupValues!,
    };