SeqMapTask.fromJson constructor

SeqMapTask.fromJson(
  1. Map json_
)

Implementation

SeqMapTask.fromJson(core.Map json_)
    : this(
        inputs: json_.containsKey('inputs')
            ? (json_['inputs'] as core.List)
                .map((value) => SideInputInfo.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        outputInfos: json_.containsKey('outputInfos')
            ? (json_['outputInfos'] as core.List)
                .map((value) => SeqMapTaskOutputInfo.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        stageName: json_.containsKey('stageName')
            ? json_['stageName'] as core.String
            : null,
        systemName: json_.containsKey('systemName')
            ? json_['systemName'] as core.String
            : null,
        userFn: json_.containsKey('userFn')
            ? json_['userFn'] as core.Map<core.String, core.dynamic>
            : null,
      );