toJson method
Implementation
@override
Object toJson() => {
if (dataset != null) 'dataset': dataset,
if (gcsSource != null) 'gcsSource': gcsSource!.toJson(),
if (bigquerySource != null) 'bigquerySource': bigquerySource!.toJson(),
if (dataFormat.isNotDefault) 'dataFormat': dataFormat,
if (targetField.isNotDefault) 'targetField': targetField,
if (loggingSamplingStrategy != null)
'loggingSamplingStrategy': loggingSamplingStrategy!.toJson(),
};