attribute method
ObjCObjectBase?
attribute(})
attribute:atIndex:effectiveRange:
Implementation
objc.ObjCObjectBase? attribute(objc.NSString attrName, {required int atIndex,required ffi.Pointer<objc.NSRange> effectiveRange}) {
objc.checkOsVersionInternal('NSAttributedString.attribute:atIndex:effectiveRange:', iOS: (false, (3, 2, 0)), macOS: (false, (10, 0, 0)));
final _ret = _objc_msgSend_7km9vu(this.ref.pointer, _sel_attribute_atIndex_effectiveRange_, attrName.ref.pointer, atIndex, effectiveRange);
return _ret.address == 0 ? null : objc.ObjCObjectBase(_ret, retain: true, release: true);
}