toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (maxDataItemCount != null) 'maxDataItemCount': maxDataItemCount!,
      if (maxDataItemPercentage != null)
        'maxDataItemPercentage': maxDataItemPercentage!,
      if (sampleConfig != null) 'sampleConfig': sampleConfig!,
      if (trainingConfig != null) 'trainingConfig': trainingConfig!,
    };