toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (commitStreamChunkSizeBytes != null)
        'commitStreamChunkSizeBytes': commitStreamChunkSizeBytes!,
      if (getDataStreamChunkSizeBytes != null)
        'getDataStreamChunkSizeBytes': getDataStreamChunkSizeBytes!,
      if (maxWorkItemCommitBytes != null)
        'maxWorkItemCommitBytes': maxWorkItemCommitBytes!,
      if (streamingComputationConfigs != null)
        'streamingComputationConfigs': streamingComputationConfigs!
            .map((value) => value.toJson())
            .toList(),
      if (userStepToStateFamilyNameMap != null)
        'userStepToStateFamilyNameMap': userStepToStateFamilyNameMap!,
      if (windmillServiceEndpoint != null)
        'windmillServiceEndpoint': windmillServiceEndpoint!,
      if (windmillServicePort != null)
        'windmillServicePort': windmillServicePort!,
    };