ParallelInstruction.fromJson constructor
ParallelInstruction.fromJson(
- Map json_
Implementation
ParallelInstruction.fromJson(core.Map json_)
: this(
flatten: json_.containsKey('flatten')
? FlattenInstruction.fromJson(
json_['flatten'] as core.Map<core.String, core.dynamic>)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
originalName: json_.containsKey('originalName')
? json_['originalName'] as core.String
: null,
outputs: json_.containsKey('outputs')
? (json_['outputs'] as core.List)
.map((value) => InstructionOutput.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
parDo: json_.containsKey('parDo')
? ParDoInstruction.fromJson(
json_['parDo'] as core.Map<core.String, core.dynamic>)
: null,
partialGroupByKey: json_.containsKey('partialGroupByKey')
? PartialGroupByKeyInstruction.fromJson(json_['partialGroupByKey']
as core.Map<core.String, core.dynamic>)
: null,
read: json_.containsKey('read')
? ReadInstruction.fromJson(
json_['read'] as core.Map<core.String, core.dynamic>)
: null,
systemName: json_.containsKey('systemName')
? json_['systemName'] as core.String
: null,
write: json_.containsKey('write')
? WriteInstruction.fromJson(
json_['write'] as core.Map<core.String, core.dynamic>)
: null,
);