NSAppearanceDocumentAttribute property

DartCADynamicRange get NSAppearanceDocumentAttribute

Implementation

DartNSAttributedStringDocumentAttributeKey
get NSAppearanceDocumentAttribute => objc.NSString.castFromPointer(
  _NSAppearanceDocumentAttribute.value,
  retain: true,
  release: true,
);
set NSAppearanceDocumentAttribute (DartNSAttributedStringDocumentAttributeKey value)

Implementation

set NSAppearanceDocumentAttribute(
  DartNSAttributedStringDocumentAttributeKey value,
) {
  objc.NSString.castFromPointer(
    _NSAppearanceDocumentAttribute.value,
    retain: false,
    release: true,
  ).ref.release();
  _NSAppearanceDocumentAttribute.value = value.ref.retainAndReturnPointer();
}