StreamingComputationTask.fromJson constructor

StreamingComputationTask.fromJson(
  1. Map json_
)

Implementation

StreamingComputationTask.fromJson(core.Map json_)
    : this(
        computationRanges: json_.containsKey('computationRanges')
            ? (json_['computationRanges'] as core.List)
                .map((value) => StreamingComputationRanges.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        dataDisks: json_.containsKey('dataDisks')
            ? (json_['dataDisks'] as core.List)
                .map((value) => MountedDataDisk.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        taskType: json_.containsKey('taskType')
            ? json_['taskType'] as core.String
            : null,
      );