attributeForKey method

ObjCObjectBase? attributeForKey(
  1. NSString key
)

Returns the feature attribute for the given attribute name.

See the attributes property’s documentation for details on keys and values associated with this method.

Implementation

objc.ObjCObjectBase? attributeForKey(objc.NSString key) {
  final _ret = _objc_msgSend_1sotr3r(this.ref.pointer, _sel_attributeForKey_, key.ref.pointer);
  return _ret.address == 0 ? null : objc.ObjCObjectBase(_ret, retain: true, release: true);
}