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,
      );