addAttributes method

void addAttributes(
  1. NSDictionary attrs, {
  2. required NSRange range,
})

addAttributes:range:

Implementation

void addAttributes(objc.NSDictionary attrs, {required NSRange range}) {
  objc.checkOsVersionInternal(
    'NSMutableAttributedString.addAttributes:range:',
    iOS: (false, (3, 2, 0)),
    macOS: (false, (10, 0, 0)),
  );
  _objc_msgSend_1oteutl(
    this.ref.pointer,
    _sel_addAttributes_range_,
    attrs.ref.pointer,
    range,
  );
}