toJson method
Implementation
Map<String, dynamic> toJson() {
final accuracyCostTradeoff = this.accuracyCostTradeoff;
final enforceProvidedLabels = this.enforceProvidedLabels;
final precisionRecallTradeoff = this.precisionRecallTradeoff;
final primaryKeyColumnName = this.primaryKeyColumnName;
return {
if (accuracyCostTradeoff != null)
'AccuracyCostTradeoff': accuracyCostTradeoff,
if (enforceProvidedLabels != null)
'EnforceProvidedLabels': enforceProvidedLabels,
if (precisionRecallTradeoff != null)
'PrecisionRecallTradeoff': precisionRecallTradeoff,
if (primaryKeyColumnName != null)
'PrimaryKeyColumnName': primaryKeyColumnName,
};
}