getRtlSegments method

List<List<int>> getRtlSegments()

Implementation

List<List<int>> getRtlSegments() {
  if (!_containsRtl) {
    return [];
  }

  return BidirectionalText.findRtlSegments(toString());
}