toJson method

  1. @override
Object toJson()

Implementation

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