attributedStringWithAttachment static method

NSAttributedString attributedStringWithAttachment(
  1. NSTextAttachment attachment
)

attributedStringWithAttachment:

Implementation

static objc.NSAttributedString attributedStringWithAttachment(NSTextAttachment attachment) {
objc.checkOsVersionInternal('NSAttributedString.attributedStringWithAttachment:', iOS: (false, (7, 0, 0)), macOS: (false, (10, 0, 0)));
  final $ret = _objc_msgSend_1sotr3r(_class_NSAttributedString, _sel_attributedStringWithAttachment_, attachment.ref.pointer);
  return objc.NSAttributedString.fromPointer($ret, retain: true, release: true);
}