Range.fromJson constructor

Range.fromJson(
  1. Map json_
)

Implementation

Range.fromJson(core.Map json_)
    : this(
        endIndex: json_.containsKey('endIndex')
            ? json_['endIndex'] as core.int
            : null,
        segmentId: json_.containsKey('segmentId')
            ? json_['segmentId'] as core.String
            : null,
        startIndex: json_.containsKey('startIndex')
            ? json_['startIndex'] as core.int
            : null,
      );