toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (alsologtostderr != null) 'alsologtostderr': alsologtostderr!,
      if (baseTaskDir != null) 'baseTaskDir': baseTaskDir!,
      if (baseUrl != null) 'baseUrl': baseUrl!,
      if (commandlinesFileName != null)
        'commandlinesFileName': commandlinesFileName!,
      if (continueOnException != null)
        'continueOnException': continueOnException!,
      if (dataflowApiVersion != null)
        'dataflowApiVersion': dataflowApiVersion!,
      if (harnessCommand != null) 'harnessCommand': harnessCommand!,
      if (languageHint != null) 'languageHint': languageHint!,
      if (logDir != null) 'logDir': logDir!,
      if (logToSerialconsole != null)
        'logToSerialconsole': logToSerialconsole!,
      if (logUploadLocation != null) 'logUploadLocation': logUploadLocation!,
      if (oauthScopes != null) 'oauthScopes': oauthScopes!,
      if (parallelWorkerSettings != null)
        'parallelWorkerSettings': parallelWorkerSettings!,
      if (streamingWorkerMainClass != null)
        'streamingWorkerMainClass': streamingWorkerMainClass!,
      if (taskGroup != null) 'taskGroup': taskGroup!,
      if (taskUser != null) 'taskUser': taskUser!,
      if (tempStoragePrefix != null) 'tempStoragePrefix': tempStoragePrefix!,
      if (vmId != null) 'vmId': vmId!,
      if (workflowFileName != null) 'workflowFileName': workflowFileName!,
    };