title property
NSString?
get
title
title
Implementation
objc.NSString? get title {
objc.checkOsVersionInternal(
'NSStatusItem.title',
iOS: (true, null),
macOS: (false, (10, 0, 0)),
);
final _ret = _objc_msgSend_151sglz(this.ref.pointer, _sel_title);
return _ret.address == 0
? null
: objc.NSString.castFromPointer(_ret, retain: true, release: true);
}
set
title
(NSString? value)
setTitle:
Implementation
set title(objc.NSString? value) {
objc.checkOsVersionInternal(
'NSStatusItem.setTitle:',
iOS: (true, null),
macOS: (false, (10, 0, 0)),
);
_objc_msgSend_xtuoz7(
this.ref.pointer,
_sel_setTitle_,
value?.ref.pointer ?? ffi.nullptr,
);
}