toJson method
Implementation
@override
Object toJson() => {
if (fractionSplit != null) 'fractionSplit': fractionSplit!.toJson(),
if (filterSplit != null) 'filterSplit': filterSplit!.toJson(),
if (predefinedSplit != null) 'predefinedSplit': predefinedSplit!.toJson(),
if (timestampSplit != null) 'timestampSplit': timestampSplit!.toJson(),
if (stratifiedSplit != null) 'stratifiedSplit': stratifiedSplit!.toJson(),
if (gcsDestination != null) 'gcsDestination': gcsDestination!.toJson(),
if (bigqueryDestination != null)
'bigqueryDestination': bigqueryDestination!.toJson(),
'datasetId': datasetId,
if (annotationsFilter.isNotDefault) 'annotationsFilter': annotationsFilter,
if (annotationSchemaUri.isNotDefault)
'annotationSchemaUri': annotationSchemaUri,
if (savedQueryId.isNotDefault) 'savedQueryId': savedQueryId,
if (persistMlUseAssignment.isNotDefault)
'persistMlUseAssignment': persistMlUseAssignment,
};