initWithString_attributes_ method

NSAttributedString initWithString_attributes_(
  1. NSString str,
  2. NSDictionary? attrs
)

Implementation

NSAttributedString initWithString_attributes_(
    NSString str, NSDictionary? attrs) {
  final _ret = _lib._objc_msgSend_716(
      _id,
      _lib._sel_initWithString_attributes_1,
      str._id,
      attrs?._id ?? ffi.nullptr);
  return NSAttributedString._(_ret, _lib, retain: true, release: true);
}