toJson method
Implementation
@override
Object toJson() => {
if (gcs case final gcs?) 'gcs': gcs.toJson(),
if (bigquery case final bigquery?) 'bigquery': bigquery.toJson(),
if (predictionFormat.isNotDefault)
'predictionFormat': predictionFormat.toJson(),
};