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<KeyRangeDataDiskAssignment>((value) =>
                    KeyRangeDataDiskAssignment.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );