toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (parameterSpec != null) 'parameterSpec': parameterSpec!,
      if (parentCategoricalValues != null)
        'parentCategoricalValues': parentCategoricalValues!,
      if (parentDiscreteValues != null)
        'parentDiscreteValues': parentDiscreteValues!,
      if (parentIntValues != null) 'parentIntValues': parentIntValues!,
    };