docFormatFromRange method
docFormatFromRange:documentAttributes:
Implementation
objc.NSData? docFormatFromRange(
NSRange range, {
required objc.NSDictionary documentAttributes,
}) {
objc.checkOsVersionInternal(
'NSAttributedString.docFormatFromRange:documentAttributes:',
iOS: (false, (3, 2, 0)),
macOS: (false, (10, 0, 0)),
);
final _ret = _objc_msgSend_bstjp9(
this.ref.pointer,
_sel_docFormatFromRange_documentAttributes_,
range,
documentAttributes.ref.pointer,
);
return _ret.address == 0
? null
: objc.NSData.castFromPointer(_ret, retain: true, release: true);
}