PartialGroupByKeyInstruction.fromJson constructor

PartialGroupByKeyInstruction.fromJson(
  1. Map _json
)

Implementation

PartialGroupByKeyInstruction.fromJson(core.Map _json)
    : this(
        input: _json.containsKey('input')
            ? InstructionInput.fromJson(
                _json['input'] as core.Map<core.String, core.dynamic>)
            : null,
        inputElementCodec: _json.containsKey('inputElementCodec')
            ? _json['inputElementCodec']
                as core.Map<core.String, core.dynamic>
            : null,
        originalCombineValuesInputStoreName:
            _json.containsKey('originalCombineValuesInputStoreName')
                ? _json['originalCombineValuesInputStoreName'] as core.String
                : null,
        originalCombineValuesStepName:
            _json.containsKey('originalCombineValuesStepName')
                ? _json['originalCombineValuesStepName'] as core.String
                : null,
        sideInputs: _json.containsKey('sideInputs')
            ? (_json['sideInputs'] as core.List)
                .map((value) => SideInputInfo.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        valueCombiningFn: _json.containsKey('valueCombiningFn')
            ? _json['valueCombiningFn'] as core.Map<core.String, core.dynamic>
            : null,
      );