toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (dataSourceId != null) 'dataSourceId': dataSourceId!,
if (destinationDatasetId != null)
'destinationDatasetId': destinationDatasetId!,
if (emailPreferences != null) 'emailPreferences': emailPreferences!,
if (endTime != null) 'endTime': endTime!,
if (errorStatus != null) 'errorStatus': errorStatus!,
if (name != null) 'name': name!,
if (notificationPubsubTopic != null)
'notificationPubsubTopic': notificationPubsubTopic!,
if (params != null) 'params': params!,
if (runTime != null) 'runTime': runTime!,
if (schedule != null) 'schedule': schedule!,
if (scheduleTime != null) 'scheduleTime': scheduleTime!,
if (startTime != null) 'startTime': startTime!,
if (state != null) 'state': state!,
if (updateTime != null) 'updateTime': updateTime!,
if (userId != null) 'userId': userId!,
};