attributedSubstringFromRange method

NSAttributedString attributedSubstringFromRange(
  1. NSRange range
)

attributedSubstringFromRange:

Implementation

NSAttributedString attributedSubstringFromRange(NSRange range) {
  objc.checkOsVersionInternal(
    'NSAttributedString.attributedSubstringFromRange:',
    iOS: (false, (3, 2, 0)),
    macOS: (false, (10, 0, 0)),
  );
  final _ret = _objc_msgSend_1k1o1s7(
    this.ref.pointer,
    _sel_attributedSubstringFromRange_,
    range,
  );
  return NSAttributedString.castFromPointer(
    _ret,
    retain: true,
    release: true,
  );
}