ParDoInstruction.fromJson constructor
ParDoInstruction.fromJson(
- Map json_
Implementation
ParDoInstruction.fromJson(core.Map json_)
: this(
input: json_.containsKey('input')
? InstructionInput.fromJson(
json_['input'] as core.Map<core.String, core.dynamic>)
: null,
multiOutputInfos: json_.containsKey('multiOutputInfos')
? (json_['multiOutputInfos'] as core.List)
.map((value) => MultiOutputInfo.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
numOutputs: json_.containsKey('numOutputs')
? json_['numOutputs'] as core.int
: null,
sideInputs: json_.containsKey('sideInputs')
? (json_['sideInputs'] as core.List)
.map((value) => SideInputInfo.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
userFn: json_.containsKey('userFn')
? json_['userFn'] as core.Map<core.String, core.dynamic>
: null,
);