initWithString$1 method
initWithString:attributes:
Implementation
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(this.ref.retainAndReturnPointer(), _sel_initWithString_attributes_, str.ref.pointer, attributes?.ref.pointer ?? ffi.nullptr);
return NSAttributedString.castFromPointer(_ret, retain: false, release: true);
}