StreamingSetupTask.fromJson constructor
StreamingSetupTask.fromJson(
- Map json_
Implementation
StreamingSetupTask.fromJson(core.Map json_)
: this(
drain:
json_.containsKey('drain') ? json_['drain'] as core.bool : null,
receiveWorkPort: json_.containsKey('receiveWorkPort')
? json_['receiveWorkPort'] as core.int
: null,
snapshotConfig: json_.containsKey('snapshotConfig')
? StreamingApplianceSnapshotConfig.fromJson(
json_['snapshotConfig']
as core.Map<core.String, core.dynamic>)
: null,
streamingComputationTopology: json_
.containsKey('streamingComputationTopology')
? TopologyConfig.fromJson(json_['streamingComputationTopology']
as core.Map<core.String, core.dynamic>)
: null,
workerHarnessPort: json_.containsKey('workerHarnessPort')
? json_['workerHarnessPort'] as core.int
: null,
);