toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final featurizationMethodName = this.featurizationMethodName;
  final featurizationMethodParameters = this.featurizationMethodParameters;
  return {
    'FeaturizationMethodName': featurizationMethodName.toValue(),
    if (featurizationMethodParameters != null)
      'FeaturizationMethodParameters': featurizationMethodParameters,
  };
}