$DocumentTextAnchorTextSegment.fromJson constructor

$DocumentTextAnchorTextSegment.fromJson(
  1. Map _json
)

Implementation

$DocumentTextAnchorTextSegment.fromJson(core.Map _json)
    : this(
        endIndex: _json.containsKey('endIndex')
            ? _json['endIndex'] as core.String
            : null,
        startIndex: _json.containsKey('startIndex')
            ? _json['startIndex'] as core.String
            : null,
      );