toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (drain != null) 'drain': drain!,
if (receiveWorkPort != null) 'receiveWorkPort': receiveWorkPort!,
if (snapshotConfig != null) 'snapshotConfig': snapshotConfig!,
if (streamingComputationTopology != null)
'streamingComputationTopology': streamingComputationTopology!,
if (workerHarnessPort != null) 'workerHarnessPort': workerHarnessPort!,
};