initWithString$1 method
initWithString:attributes:
Implementation
objc.NSAttributedString initWithString$1(objc.NSString str, {objc.NSDictionary? attributes}) {
objc.checkOsVersionInternal('NSAttributedString.initWithString:attributes:', iOS: (false, (3, 2, 0)), macOS: (false, (10, 0, 0)));
final $ret = _objc_msgSend_15qeuct(object$.ref.retainAndReturnPointer(), _sel_initWithString_attributes_, str.ref.pointer, attributes?.ref.pointer ?? ffi.nullptr);
return objc.NSAttributedString.fromPointer($ret, retain: false, release: true);
}