NSBackgroundColorDocumentAttribute property

DartCADynamicRange get NSBackgroundColorDocumentAttribute

Implementation

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

Implementation

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