StreamingComputationRanges.fromJson constructor

StreamingComputationRanges.fromJson(
  1. Map json_
)

Implementation

StreamingComputationRanges.fromJson(core.Map json_)
    : this(
        computationId: json_.containsKey('computationId')
            ? json_['computationId'] as core.String
            : null,
        rangeAssignments: json_.containsKey('rangeAssignments')
            ? (json_['rangeAssignments'] as core.List)
                .map((value) => KeyRangeDataDiskAssignment.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );