toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (configuration != null) 'configuration': configuration!,
      if (id != null) 'id': id!,
      if (initialReportIndex != null)
        'initialReportIndex': initialReportIndex!,
      if (jobId != null) 'jobId': jobId!,
      if (leaseExpireTime != null) 'leaseExpireTime': leaseExpireTime!,
      if (mapTask != null) 'mapTask': mapTask!,
      if (packages != null) 'packages': packages!,
      if (projectId != null) 'projectId': projectId!,
      if (reportStatusInterval != null)
        'reportStatusInterval': reportStatusInterval!,
      if (seqMapTask != null) 'seqMapTask': seqMapTask!,
      if (shellTask != null) 'shellTask': shellTask!,
      if (sourceOperationTask != null)
        'sourceOperationTask': sourceOperationTask!,
      if (streamingComputationTask != null)
        'streamingComputationTask': streamingComputationTask!,
      if (streamingConfigTask != null)
        'streamingConfigTask': streamingConfigTask!,
      if (streamingSetupTask != null)
        'streamingSetupTask': streamingSetupTask!,
    };