lineBreakByHyphenatingBeforeIndex method

DartNSUInteger lineBreakByHyphenatingBeforeIndex(
  1. DartNSUInteger location, {
  2. required NSRange withinRange,
})

lineBreakByHyphenatingBeforeIndex:withinRange:

Implementation

DartNSUInteger lineBreakByHyphenatingBeforeIndex(
  DartNSUInteger location, {
  required NSRange withinRange,
}) {
  objc.checkOsVersionInternal(
    'NSAttributedString.lineBreakByHyphenatingBeforeIndex:withinRange:',
    iOS: (false, (3, 2, 0)),
    macOS: (false, (10, 0, 0)),
  );
  return _objc_msgSend_1ih9idr(
    this.ref.pointer,
    _sel_lineBreakByHyphenatingBeforeIndex_withinRange_,
    location,
    withinRange,
  );
}