valueWithUniqueID method
ObjCObjectBase?
valueWithUniqueID(
- ObjCObjectBase uniqueID, {
- required NSString inPropertyWithKey,
valueWithUniqueID:inPropertyWithKey:
Implementation
objc.ObjCObjectBase? valueWithUniqueID(
objc.ObjCObjectBase uniqueID, {
required objc.NSString inPropertyWithKey,
}) {
objc.checkOsVersionInternal(
'NSObject.valueWithUniqueID:inPropertyWithKey:',
iOS: (false, (2, 0, 0)),
macOS: (false, (10, 0, 0)),
);
final _ret = _objc_msgSend_15qeuct(
this.ref.pointer,
_sel_valueWithUniqueID_inPropertyWithKey_,
uniqueID.ref.pointer,
inPropertyWithKey.ref.pointer,
);
return _ret.address == 0
? null
: objc.ObjCObjectBase(_ret, retain: true, release: true);
}